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 本製品 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.