## 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

Name | Type | Description | Required? | Pipeline Input | Default Value
--- | --- | --- | --- | --- | ---
NfsUser | NfsUser[] | Specifies the NFS user account you want to delete. | true | true (ByValue)
Confirm | SwitchParameter | If 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. | false | false
WhatIf | SwitchParameter | Indicates that the cmdlet is run only to display the changes that would be made and actually no objects are modified. | false | false

Return Type

None

Notes

Examples

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

    Remove-NfsUser -NfsUser $n1

Deletes the specified NFS user account.

Copyright © VMware, Inc. All rights reserved.