Cmdlets for Microsoft Active Directory

Build 24.0.9060

UseDefaultDC Parameter (Connect-AD Cmdlet)

Used to connect to the default Domain Controller and authenticate using the current user credentials.

Syntax

Connect-AD -UseDefaultDC SwitchParameter

Data Type

bool

Default Value

false

Remarks

When True, the cmdlet queries the system for the default Domain Controller and attempts to establish a connection with that server. The Server property does not need to be set separately in this case. Note: This functionality is only available in Windows.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060