Skip to main content

Get-AdcDomainCredential

SYNOPSIS

Retrieve credentials stored for accessing the targeted domain.

SYNTAX

__AllParameterSets

Get-AdcDomainCredential [-Domain] <string> [<CommonParameters>]

DESCRIPTION

Retrieve credentials stored for accessing the targeted domain. Returns nothing when no credentials were stored. This is NOT used by the main commands, but internally for retrieving data regarding foreign principals in one-way trusts. Generally, these credentials should never have more than reading access to the target domain.

EXAMPLES

EXAMPLE 1

Get-AdcDomainCredential -Domain contoso.com

Returns the credentials for accessing contoso.com, as long as those have previously been stored.

PARAMETERS

-Domain

The domain to retrieve credentials for. Does NOT accept wildcards.

Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 0
IsRequired: true
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

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.