- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You could do something like this
Get-VM | Get-Snapshot |
select @{N='VM';E={$_.VM.Name}},
@{N='Current PowerState';E={$_.VM.PowerState}},
Name,
@{N='PowerState';E={$_.VM.PowerState}}
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference