Edit

Share via


Install-NfsMappingStore

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

Syntax

Default (Default)

Install-NfsMappingStore
    [-InstanceName <String>]
    [-LdapPort <Int32>]
    [<CommonParameters>]

Description

The Install-NfaMappingStore 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.

Examples

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

PS C:\> Install-NfsMappingStore -InstanceName "NFSMappingStore" -LdapPort 389
Successfully created ADLDS instance named NFSMappingStore on server NfsServer01. The instance is running on port 389 and the partition is CN=nfs,DC=nfs.

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.

Parameters

-InstanceName

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

Parameter properties

Type:String
Default value:NFSInstance
Supports wildcards:False
DontShow:False
Aliases:instance

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-LdapPort

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

Parameter properties

Type:Int32
Default value:389
Supports wildcards:False
DontShow:False
Aliases:port

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

Nothing

Outputs

Nothing