Test-PAMDomainConfiguration
Verifies where a domain has been prepared for its user and group resources to be managed by PAM.
Syntax
Default (Default)
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
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.
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 and 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.