artus191
Contributor
Contributor

Match disk on guest operating system with vm drive.

Hello Guys,

I want to create a 2 day action, where user will be able to resize the disk of the vm. How I can match the drive letters on the OS installed on the vm with hard drives on the vm level programitically?

Best Regards
Arthur

Moderator edit by wila: Moved post from VMware {code} to VMware PowerCLI discussions

0 Kudos
1 Reply
LucD
Leadership
Leadership

If your environment meets the requirements you can use the Get-VMGuestDisk cmdlet.


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