Is there any command to get naa id of single or multiple datastore through power cli.
Datastore name can be provided in a text file. Please suggest.
Connect to your vCenter or host with PowerCli.
Get-VMHost | Get-ScsiLun -CanonicalName "naa.*" | Export-Csv c:\tempt\export.csv
Or whatever filename you want.
Check out this book.
New Poster here.
Good luck and have fun!