vCenter PowerCLI One-Liners

From vWiki
Revision as of 15:44, 26 January 2012 by Sstrutt (talk | contribs) (Initial creation - content from PowerCLI One-Liners page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Get vCentre software version

Get vCentre software version etc

 (Get-View ServiceInstance).Content.About

Get all permissions for a user

Get all permissions for a particular user

 Get-VIPermission -Principal "DOMAIN\user" | Select @{Name="Folder"; Expression={ (Get-Folder -Id $_.EntityId).Name}}, Role