Get-NfsUser
This cmdlet retrieves NFS user accounts.
Syntax
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
optional | Name | String[] | named |
|
Filters the retrieved NFS user accounts by user name. |
optional | ProgressAction | ActionPreference | named |
|
|
optional | Server | VIServer[] | named |
|
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 |
|
Specifies the virtual machine hosts for which you want to retrieve NFS user accounts. |
Output
VMware.VimAutomation.Storage.Types.V1.Nfs.NfsUserExamples
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
NfsUser
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.