Quantcast
Viewing all articles
Browse latest Browse all 230200

Re: adding 100GD D drive to 50vms

does thse 2 lines need to be on the vm?

 

 

$driveD = Get-WmiObject -Class Win32_Volume -Filter "DriveLetter = 'D:'"

 

Set-WmiInstance -Input $driveD -Arguments @{DriveLetter="E:"; Label="Label"}

 

 

Can i run this with invoke-vmscript as a powershell script on the guest?


Viewing all articles
Browse latest Browse all 230200

Trending Articles