Thanks for a handy VM permission restore script for Hyper-V.
It helps deploying template images.
1 small issue..
Line 88 in Restore-VMPermission.ps1
Write-Verbose "Processing VM $($VirtualMachines.Name) controller: $($Disk.ControllerNumber) disk: $($Disk.ControllerLocation)"
should be:
Write-Verbose "Processing VM $($VirtualMachine.Name) controller: $($Disk.ControllerNumber) disk: $($Disk.ControllerLocation)"
I believe that there's no 's' in the first variable
Cheers
Thanks for a handy VM permission restore script for Hyper-V.
It helps deploying template images.
1 small issue..
Line 88 in Restore-VMPermission.ps1
Write-Verbose "Processing VM $($VirtualMachines.Name) controller: $($Disk.ControllerNumber) disk: $($Disk.ControllerLocation)"should be:
Write-Verbose "Processing VM $($VirtualMachine.Name) controller: $($Disk.ControllerNumber) disk: $($Disk.ControllerLocation)"I believe that there's no 's' in the first variable
Cheers