PowerShell Logo Small

Remove-NfsMappedIdentity



This is the built-in help made by Microsoft for the command 'Remove-NfsMappedIdentity', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Removes a mapping between a UNIX account and a Windows account.

SYNTAX


Remove-NfsMappedIdentity [-GroupIdentifier <Int32>] [-LdapNamingContext <String>] [-MappingStore <MappingStoreType>] [-Server <String>] [-UserIdentifier <Int32>] -UserName
<String> [-Confirm] [-WhatIf] [<CommonParameters>]
Remove-NfsMappedIdentity [-GroupIdentifier <Int32>] [-LdapNamingContext <String>] [-MappingStore <MappingStoreType>] [-Server <String>] -GroupName <String> [-Confirm]
[-WhatIf] [<CommonParameters>]
Remove-NfsMappedIdentity [-GroupIdentifier <Int32>] [-LdapNamingContext <String>] [-MappingStore <MappingStoreType>] [-Server <String>] [-UserIdentifier <Int32>] [-Confirm]
[-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Remove-NfsMappedIdentity cmdlet removes a mapped identity from a Network File System (NFS) server mapping store.


A mapped identity associates a Windows user account or group account to a UNIX user account or group account. A user ID (UID) or group ID (GID) identifies a UNIX account
namespace. These elements are associated with the corresponding elements of a Windows account namespace: a user name or a group name. By using a mapped identity, a user who
is logged on to a UNIX domain can access shared resources in a Windows domain without having to log on to the Windows domain.


For more information about NFS, see Network File System. For more information about NFS account mapping, see NFS Account Mapping Guide and Identity Management for UNIX.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?linkid=287520
Get-NfsMappedIdentity
New-NfsMappedIdentity
Resolve-NfsMappedIdentity
Set-NfsMappedIdentity
Test-NfsMappedIdentity
Get-NfsMappingStore
Install-NfsMappingStore
Set-NfsMappingStore
Test-NfsMappingStore

REMARKS

<

Examples


Example 1: Remove identity mapping for a user

PS C:\> Remove-NfsMappedIdentity -MappingStore "LDAP" -UserName "LSPolly"



This command removes a mapped identity that is stored in the configured AD LDS instance, on a server where this command is run, for the user account LSPolly.




Example 2: Remove an identity mapping for a group

PS C:\> Remove-NfsMappedIdentity -MappingStore "AD" -GroupIdentifier 22



This command removes a mapped identity that is stored in a configured AD DS map store and that corresponds to the group account that has the group identifier 22.