Share via


Remove-PAMDomainConfiguration

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

Syntax

Default (Default)

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

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.

Parameter properties

Type:PSCredential
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:2
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-SourceDomain

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

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:1
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.