New-PAMDomainConfiguration

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

Syntax

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

Description

The New-PAMDomainConfiguration should be called for each domain in an existing forest where users and groups are located. It should be invoked subsequent to invoking New-PAMTrust for the forest containing that domain, and before invoking New-PAMGroup, otherwise the New-PAMGroup command may not succeed.

Examples

EXAMPLE 1

New-PAMDomainConfiguration -SourceDomain "contoso" -Credentials (Get-Credential)

Description


This command updates a domain with NetBIOS name "contoso" to set the configuration data required to be managed from the PAM domain. The user is prompted to provide administrator credentials to manage in that forest.

Parameters

-Credentials

Credentials to authenticate as an administrator for 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 groups are located.

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