Install-NfsMappingStore

Install-NfsMappingStore

Installs and initializes an AD LDS instance as an identity mapping store.

Syntax

Parameter Set: AllParameterSets
Install-NfsMappingStore [-InstanceName <String> ] [-LdapPort <Int32> ] [ <CommonParameters>]

Detailed Description

The Install-NfaMppingStore cmdlet installs the Active Directory Lightweight Directory Services (AD LDS) role on a local computer. It then initializes an AD LDS instance as an identity mapping store.

Parameters

-InstanceName<String>

Specifies the name for the for the new AD LDS instance.

Aliases

none

Required?

false

Position?

named

Default Value

NFSInstance

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-LdapPort<Int32>

Specifies the LDAP port number for the new AD LDS instance.

Aliases

none

Required?

false

Position?

named

Default Value

389

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • Nothing

Outputs

The output type is the type of the objects that the cmdlet emits.

  • Nothing

Examples

Example 1: Install AD LDS and create an AD LDS instance as an identity mapping store

This command installs the AD LDS role on a local computer and creates the AD LDS instance NFSMappingStore, which runs on port 389. It also creates the partition CN=nfs,DC=nfs and sets the default naming context to CN=nfs,DC=nfs.

PS C:\> Install-NfsMappingStore -InstanceName "NFSMappingStore" -LdapPort 389

Get-NfsMappedIdentity

Set-NfsMappingStore

Test-NfsMappingStore

Get-NfsMappedIdentity

New-NfsMappedIdentity

Remove-NfsMappedIdentity

Resolve-NfsMappedIdentity

Set-NfsMappedIdentity

Test-NfsMappedIdentity