- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Rich - You can iterate the properties and methods of any PowerShell command by using the following...
get-command get-snapshot | get-member
Another way (I use a lot when trying to decide what to display when looking at VMs or hosts or datastores) is to use the regular get-... command and then pipe it to format-list and show all properties.
Example: "get-vmhost |fl -property *"
This doesn't show methods but it does show all properties.
Take care,
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.