VMware Cloud Community
chakoe
Enthusiast
Enthusiast

Retrieve VM ( windows-Guest ) Disk & Partition-Layout

 

Hi all,

 

we are using vsphere 6.7 

 

We want to retrieve the Information, if a Windows-Guest / VM is using only one Partition on each Disk ( or: not more than 1 Partition on 1 vDisk ).   We want to do this without using WMI / WinRM so we do not need the GuestOS-Credentials.

Is this possible ?

 

Using Get-VMGuest, i can retrieve the PartitionInfos ( DriveLetter, Capacity ... ) but there is no Information about the vDisk.

Any idea ?

 

thx in advance 🙂

 

Reply
0 Kudos
1 Reply
LucD
Leadership
Leadership

No, this is not possible in a fool-proof way.

If you are on vSphere 7 or later, and meet some other prereqs, you could use Get-VMGuestDisk.


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

Reply
0 Kudos