Remove-PAMDomainConfiguration

Updates a domain in an existing forest to remove configuration data required by PAM.

Syntax

Remove-PAMDomainConfiguration
      [-SourceDomain] <String>
      [-Credentials] <PSCredential>
      [<CommonParameters>]

Description

The Remove-PAMDomainConfiguration cmdlet updates a domain in an existing forest to remove configuration data required by Privileged Access Management (PAM). The configuration data would have been created by an earlier call to New-PAMDomainConfiguration.

Examples

Example 1: Remove the domain configuration objects from a domain in another forest

PS C:\> $SFC = Get-Credential ; Remove-PAMDomainConfiguration -SourceDomain "contoso" -Credentials $SFC

This cmdlet removes the domain configuration objects from 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 domain where the source groups are located.

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

Specifies the NetBIOS name of the domain that contains the existing users or groups.

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