POWERCLI - need to know how to "enable NFS" by script

Does anyone know how to "Enable NFS" using powercli?

This is found in vcenter under Configuration - security profile

Thanks in advance!

Try this

Get-VMHost  | Get-VMHostFirewallException -Name "NFS Client" |  Set-VMHostFirewallException -Enabled:$true

____________

Blog: LucD notes

Twitter: lucd22

Tags: VMware

Similar Questions

Maybe you are looking for