#$e = get-esxcli -vmhost esx1
#$lun = get-content lun.txt
Any idea on Equivalent to esxcli storage core device set --state=off -d naa.xx
#$lun | {$e.storage.core.device.set($on, ($_), $off)}
#$e = get-esxcli -vmhost esx1
#$lun = get-content lun.txt
Any idea on Equivalent to esxcli storage core device set --state=off -d naa.xx
#$lun | {$e.storage.core.device.set($on, ($_), $off)}