1) All the LUNs in the text file
$luns = Get-Content luns.txt
$luns | %{ $e01.storage.core.device.detached.remove($_) }
This one works fine.
1) All the LUNs in the text file
$luns = Get-Content luns.txt
$luns | %{ $e01.storage.core.device.detached.remove($_) }
This one works fine.