New-PAMTrust
Establishes a trust of the PAM domain from a domain in an existing forest.
Syntax
New-PAMTrust
[-SourceForest] <String>
[-Credentials] <PSCredential>
[-Bidirectional]
[<CommonParameters>]
Description
This command establishes a new trust relationship between domain in an existing forest and the PAM domain.
Examples
EXAMPLE 1
New-PAMTrust -SourceForest "contoso.local" -Credentials (Get-Credential)
Description
This command establishes trust from an existing forest with a root domain with name "contoso.local" to the PAM domain. The user is prompted to provide administrator credentials to manage in that forest.
EXAMPLE 2
New-PAMTrust -SourceForest "contoso.local" -Credentials (Get-Credential) -Bidirectional
Description
This command establishes bidirectional trust between "contoso.local" and PAM domain. The user is prompted to provide administrator credentials to manage in that forest.
Parameters
-Bidirectional
Switch Parameter to establish bidirectional trust between PAM domain from a domain and an existing forest.
Type: | SwitchParameter |
Position: | 3 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Credentials
Credentials to authenticate as an administrator to the existing forest.
Type: | PSCredential |
Position: | 2 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SourceForest
Domain name of the existing forest.
Type: | String |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |