PowerCLI Reference

Remove-NfsUser

Synopsis

This cmdlet deletes the specified NFS user accounts.

Syntax

Remove-NfsUser [-NfsUser] <NfsUser[]> [-Confirm] [-WhatIf] [<CommonParameters>]

Related Commands

Online Version
Get-NfsUser
New-NfsUser
Set-NfsUser

Detailed Description

This cmdlet deletes the specified NFS user accounts.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
NfsUserNfsUser[]Specifies the NFS user account you want to delete.trueTrue (ByValue)
ConfirmSwitchParameterIf the value is $true, indicates that the cmdlet asks for confirmation before running. If the value is $false, the cmdlet runs without asking for user confirmation.falseFalse
WhatIfSwitchParameterIndicates that the cmdlet is run only to display the changes that would be made and actually no objects are modified.falseFalse

Return Type

None

Notes

Examples

-------------------------- Example 1 --------------------------

Remove-NfsUser -NfsUser $n1

Deletes the specified NFS user account.


Copyright © VMware, Inc. All rights reserved.