Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 228891

Re: Set device state to OFF using powercli

$
0
0

Yes, you have to provide the 2nd parameter, if you don't want to rename the device, give a $null value.

 

You can list all the available devices, and then get the Device property from that output.

Something like this

 

$esxcli.storage.core.device.list() |%$esxcli.storage.core.device.set($_.Device,$null,$false,'on')
}

Viewing all articles
Browse latest Browse all 228891

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>