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

This command updates a domain in an existing forest to remove configuration data required by PAM. The configuration data would have been created by an earlier use of New-PAMDomainConfiguration.

Examples

EXAMPLE 1

$sfc = Get-Credential ; Remove-PAMDomainConfiguration -SourceDomain "contoso" -Credentials $sfc

Description


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.

Parameters

-Credentials

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

NetBIOS name of the domain in which the existing users or groups are located.

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