Test-​PA​MDomain​Configuration

Verifies 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

The Test-PAMDomainConfiguration cmdlet verifies a domain has been prepared for its user and group resources to be managed by Privileged Access Management (PAM). This cmdlet assumes an earlier call to New-PAMDomainConfiguration has been made.

Examples

Example 1: Validate the domain configuration objects exist in a source domain in another forest

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

This command 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.

Required Parameters

-Credentials

Specifies the credentials to authenticate as an administrator to the domain where the source users and 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 in which the existing users and groups are located.

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

Outputs

String