Quantcast
Channel: VMware Communities : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 180259

esxcli via powercli

$
0
0

I'm trying to write a script that will list all storage, naa identifier, SCSI Lun Id, this bit I have done, but also then check against the host if the IsPereniallyReserved set to true or false

 

I can get the naa identifier and issue the following

$myesxcli.storage.core.device.list($_)

which will display the info to the screen, but am really struggling to capture this to a variable so I can manipulate the display of the output?

you would think

$x = $myesxcli.storage.core.device.list($_)

but that doesn't seem to work

I must be missing something obvious here?

anyone done this before?

 

Thanks


Viewing all articles
Browse latest Browse all 180259

Trending Articles