Install-NfsMappingStore
Installs and initializes an AD LDS instance as an identity mapping store.
Syntax
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.
Type: | String |
Aliases: | instance |
Position: | Named |
Default value: | NFSInstance |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-LdapPort
Specifies the LDAP port number for the new AD LDS instance.
Type: | Int32 |
Aliases: | port |
Position: | Named |
Default value: | 389 |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Inputs
Nothing
Outputs
Nothing