VMware Cloud Community
looiwh
Contributor
Contributor

power cli to extract selected VM OS, disk services from the VC

Hi,

Are there a way to use power cli to extract selected VM OS, disk services from the VC?

Thanks,

Looi.

0 Kudos
3 Replies
LucD
Leadership
Leadership

Do you mean Virtual Disk Service on a Windows box?


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
looiwh
Contributor
Contributor

Nop, looking for a way to make use of power CLI to export selected VM information such as disk (how many drive does the VM having), windows services, OS version. Thanks.

0 Kudos
LucD
Leadership
Leadership

That can be obtained through the Get-VM and Get-Harddisk cmdlets.
For Windows services you will have to query inside the guest OS, you can use Invoke-VMScript for that.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos