Dela via


Test-PAMDomainConfiguration

Verifies where a domain has been prepared for its user and group resources to be managed by PAM.

Syntax

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

Description

This command verifies whether a domain has been prepared by an earlier call to New-PAMDomainConfiguration.

Examples

EXAMPLE 1

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

Description


This cmdlet indicates whether the trust relationship has 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 domain where the source users and groups are located.

Type:PSCredential
Position:2
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-SourceDomain

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

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

Outputs

string