PowerCLI Reference

Remove-NfsUser

Synopsis

This cmdlet deletes the specified NFS user accounts.

Syntax

Remove-NfsUser [-NfsUser] <NfsUser[]> [-WhatIf] [-Confirm] [<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.