Install-NfsMappingStore
Install-NfsMappingStore
Installs and initializes an AD LDS instance as an identity mapping store.
構文
Parameter Set: Default
Install-NfsMappingStore [-InstanceName <String> ] [-LdapPort <Int32> ] [ <CommonParameters>]
詳細説明
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.
パラメーター
-InstanceName<String>
Specifies the name for the for the new AD LDS instance.
エイリアス |
instance |
必須? |
false |
位置は? |
named |
既定値 |
NFSInstance |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-LdapPort<Int32>
Specifies the LDAP port number for the new AD LDS instance.
エイリアス |
port |
必須? |
false |
位置は? |
named |
既定値 |
389 |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
- Nothing
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
- Nothing
例
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