New-​PA​MTrust

Creates a trust relationship of the PAM domain from a domain in an existing forest.

Syntax

New-PAMTrust
   [-SourceForest] <String>
   [-Credentials] <PSCredential>
   [-Bidirectional]
   [<CommonParameters>]

Description

The New-PAMTrust cmdlet establishes a trust relationship from a domain in an existing forest to the Privileged Access Management (PAM) domain.

Examples

Example 1: Establish a trust relationship of the PAM domain from a domain in an existing forest

PS C:\> New-PAMTrust -SourceForest "Contoso" -Credentials (Get-Credential)

This command establishes trust from an existing forest with a root domain with NetBIOS name Contoso to the PAM domain. The cmdlet prompts the user to provide administrator credentials to manage in that forest.

Required Parameters

-Credentials

Specifies credentials to authenticate as an administrator to the existing forest.

Type:PSCredential
Position:2
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SourceForest

Specifies the domain name of the existing forest.

Type:String
Position:1
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional 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
Accept pipeline input:False
Accept wildcard characters:False