Hi gurus
can I change the independent disk to the dependent disk using powercli ?
Thanks a bunch
I assume that means the persistence of the HD?If the VM is powered off, you could do
Get-VM | Where{$_.PowerState -eq 'PoweredOff'} | Get-HardDisk | Where {$_.Persistence -eq 'NonPersistent'}| Set-HardDisk -Persistence Persistent -Confirm:$false
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference