Created
July 25, 2016 14:47
-
-
Save chelnak/187d62bbae88753efffe6208e94a218c to your computer and use it in GitHub Desktop.
Get all resources and show their reservation with PowervRA
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Get-vRAConsumerResource -WithExtendedData | ? {$_.ResourceType -eq "Infrastructure.Virtual"} | Select ResourceId, Name, @{Name="Reservation"; Expression={$_.Data.MachineReservationName}} | Sort-Object -Property Reservation, Name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment