how do i find the uuid of a datastore like this from esxcli?
http://thephuck.com/virtualization/powercli-script-to-get-datastore-uuids/
Has a script that I'm sure you can modify to get the required output.
Simon
I'm confused... the esxcli command to find the UUID of the datastores is in the screenshot;
esxcli storage filesystem list
If you where searching for one in a long list, you could used grep.
esxcli storage filesystem list | grep -i NameOfDataStore
Simon
Sorry I mean how do I do it from powercli.
does get-datastore or get-scsilun provide some options?
Sorry, just noticed the sub forum this is in.
Get-ScsiLun - vSphere PowerCLI Cmdlets Reference looks like it'll provide what you are looking for.
Simon
http://thephuck.com/virtualization/powercli-script-to-get-datastore-uuids/
Has a script that I'm sure you can modify to get the required output.
Simon
Thanks
guess it also works with esxcli in powercli
$esxcli.storage.filesystem.list()