Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

PowerCLI out put not quite right

$
0
0

PowerCLI C:\> Get-Datastore -vm cbsdcs*

Name                               FreeSpaceGB      CapacityGB
----                               -----------      ----------
esx800_vnx5600_alv_1202              2,512.107       4,095.750
esx800_vnx5600_alv_1200              2,408.659       4,095.750
esx800_vnx5600_alv_1204              1,853.222       4,095.750
esx800_vnx5600_alv_1201              2,946.971       4,095.750
esx700_vnx5600_lnc_1202              1,582.361       4,095.750
esx700_vnx5300_lnc_1203                540.495       4,095.750
esx700_vnx5300_lnc_1206              1,255.466       4,095.750
esx700_vnx5300_lnc_1205              1,014.539       4,095.750


i am querying VMware for all vm which start with cbsdcs  (then use *) to get all virtual machines -the output is not what i want
i want display to show name of virtual machines and the name of datastores they reside on


Viewing all articles
Browse latest Browse all 6937

Trending Articles