Hi,
I have virtual center with 5 hosts.
I'v tried to mount the same NFS dir to all of the hosts with no success.
can any one help and guide with syntax example?
thanks,
David
Something like this
$ESXSrv = Get-VIServer -Server
Note that -Name seems to be required allthough the helpfile says it's not.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
I have no idea but I'd like to know the answer as well. I haven't gotten to datastores yet in my research.
Hal Rottenberg
Co-Host, PowerScripting Podcast (http://powerscripting.net)
Something like this
$ESXSrv = Get-VIServer -Server
Note that -Name seems to be required allthough the helpfile says it's not.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Works like magic , thanks!
I can't understand why the -path is required? I have the - remotepath...
Regards,
David
That had me confused as well in the beginning.
The SDK has a rather good explanantion (see http://www.vmware.com/support/developer/vc-sdk/visdk25pubs/ReferenceGuide/vim.host.MountInfo.html)
"Local file path where file system volume is mounted, if applicable. This path identifies the file system volume from the point of view of the host."
In short, it is the directory, on the ESX server, under /vmfs/volumes where the NFS share is mounted.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference