Set-NfsUser
This cmdlet configures existing NFS user accounts by changing the password associated with the account. The virtual machine host must be part of an Active Directory domain for the cmdlet to run successfully.
Syntax
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required
|
NfsUser | NfsUser[] | named |
|
Specifies the NFS user account you want to configure. |
required
|
Password | SecureString | named |
|
Specifies the new password for authentication. This parameter accepts both secure and plain strings. |
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 Connect-VIServer. |
Output
VMware.VimAutomation.Storage.Types.V1.Nfs.NfsUserExamples
Example 1
Set-NfsUser -NfsUser $n1 -Password "password2"
Sets "password2" as the new password for the $n1 NFS user account.
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.