your home for end-user virtualization!

Add a new NFS datastore to all of the hosts in a cluster using PowerCLI

Needing a way to add a NFS to multiple hosts, I resorted to using VMware’s API PowerCLI!

get-vmhost | New-Datastore -Nfs -Name DataStoreName -Path /data1/export -NfsHost nfshost.domain.local

Tags: ,

Search

Categories