Get-NfsUser Command | Vmware PowerCLI Reference


This cmdlet retrieves NFS user accounts.


[-Name < String[] > ]
[-Server < VIServer[] > ]
[-VMHost < VMHost[] > ]


Required Parameter Name Type Position Features Description
optional Name String[] named
  • wildcards
Filters the retrieved NFS user accounts by user name.
optional Server VIServer[] named
  • wildcards
Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of the Connect-VIServer cmdlet.
optional VMHost VMHost[] named
  • pipeline
  • wildcards
Specifies the virtual machine hosts for which you want to retrieve NFS user accounts.




Example 1

Get-NfsUser -VMHost $vmhost

Retrieves the NFS user accounts from the specified host.

Example 2

Get-NfsUser -Username MyUser*

Retrieves all NFS user accounts that have a user name which starts with MyUser.

Related Commands


This cmdlet retrieves NFS user accounts.

This cmdlet creates an NFS user account on the specified virtual machine host.

This cmdlet deletes the specified NFS user accounts.

This cmdlet configures existing NFS user accounts by changing the password associated with the account.