Remove-PAMTrust

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

Syntax

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

Description

This cmdlet removes the trust relationship that a forest has to the privileged access management forest. It is assumed that the trust was originally created by the New-PAMTrust cmdlet. This cmdlet does not remove domain configuration data from the source domains other than the trust relationship.

Examples

EXAMPLE 1

$sfc = Get-Credential ; Remove-PAMTrust -SourceForest "contoso.local" -Credentials $sfc

Description


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.

Parameters

-Credentials

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

Domain name of the existing forest.

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