You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Set-FT.ps1: typo in foreach loop that builds the VM disk array #136
On line 52, the "foreach" loop is referencing the variable "$d", but I believe it should reference the variable "$devices":
# VM Devices$devices=$vmView.Config.Hardware.Device$diskArray=@()
# Build VM Disk Array to map to datastoreforeach ($devicein$d) {
if($device-is [VMware.Vim.VirtualDisk]) {
$temp=New-Object Vmware.Vim.FaultToleranceDiskSpec
$temp.Datastore=$datastoreView.Moref$temp.Disk=$device$diskArray+=$temp
}
}
Activity