Remove-​PA​MTrust

Removes a trust relationship of the PAM forest from an existing forest that was established by the New-PAMTrust cmdlet.

Syntax

Remove-PAMTrust
      [-SourceForest] <String>
      [-Credentials] <PSCredential>
      [<CommonParameters>]

Description

The Remove-PAMTrust cmdlet removes the trust relationship that a forest has to the Privileged Access Management (PAM) forest. It is assumed that the trust was originally created by the New-PAMTrust cmdlet. This cmdlet only removes the trust relationship and does not remove domain configuration data from the source domains.

Examples

Example 1: Remove the trust relationship with another forest

PS C:\> $SFC = Get-Credential ; Remove-PAMTrust -SourceForest "contoso.local" -Credentials $SFC

This cmdlet removes the trust relationship which had been established with the source domain in another forest. Note that it requires authentication credentials for an administrator user 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