Ok, looks like my way actually does work better (there's a first for everything)... Try using the following: get-snapshot * | format-list -property * That will show you all the propertie...
See more...
Ok, looks like my way actually does work better (there's a first for everything)... Try using the following: get-snapshot * | format-list -property * That will show you all the properties actually being retrieved by the get-snapshot command. Be carefull if you have a lot of snapshots out there. This can take a while to walk through them all. Substitute and actual snapshot name for the '*' (asterisk) if you know one. You can use something like: get-snapshot * | sort-object SizeMB -descending | format-table -property VM,SizeMB,Created,IsCurrent -auto to get a pretty decently formatted report with most of the important information. Obviously you could easily tweak around what you are sorting on and what you want to display and even easily output to some formatted output (CSV, HTML, etc.). One other note, remember powershell has (and you can create your own) alias' for commands (get-alias * to see them all). You could sub 'sort' for 'sort-object' and 'ft' for 'format-table'. Later. Erik Gross This message and/or attachments may include information subject to GDC4S O.M. 1.8.6 and GD Corporate Policy 07-105 and are intended to be accessed only by authorized recipients. Use, storage and transmission are governed by General Dynamics and its policies. Contractual restrictions apply to third parties. Recipients should refer to the policies or contract to determine proper handling. Unauthorized review, use, disclosure or distribution is prohibited. If you are not an intended recipient, please contact the sender and destroy all copies of the original message. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose.