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


FLASHBACK WITH SIRASA FM AT GALGAMUWA 2022


Mp3 Download: Mdu - Mazola


Imitation gun was fired at motorist in Leicester road-rage incident


Ndebele names


MCKINNEY EMALINE “EMMA” OF WES...


Okra & Motia — The Workshop (Prod by Hammer)


Skint TV teen to be sentenced


Moondru Mudichu 19-09-2017 – Polimer tv Serial


YOSVANI JAMES Arrested by Miami-Dade County Corrections on Jan 10, 2017


Stories • Goddess Stepmom



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