Active Directory Management Framework

Configuration driven Active Directory management.

Get-AdcDomain

SYNOPSIS

Returns the direct domain object accessible via the server/credential parameter connection.

SYNTAX

Get-AdcDomain [[-Server] <ComputerParameter>] [[-Credential] <PSCredential>]
 [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

Returns the direct domain object accessible via the server/credential parameter connection. Caches data for subsequent calls.

EXAMPLES

EXAMPLE 1

Get-AdcDomain @parameters

Returns the domain associated with the specified connection information

PARAMETERS

-Server

The server / domain to work with.

Type: ComputerParameter
Parameter Sets: (All)
Aliases: ComputerName

Required: False
Position: 1
Default value: <Default>
Accept pipeline input: False
Accept wildcard characters: False

-Credential

The credentials to use for this operation.

Type: PSCredential
Parameter Sets: (All)
Aliases:

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

-ProgressAction

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES