Edit

Share via


Get-DAMgmtServer

Displays the configured management servers. Management server here refers to update servers, Domain Controllers and other servers.

Syntax

Default (Default)

Get-DAMgmtServer
    [-ComputerName <String>]
    [-Type <String>]
    [-CimSession <CimSession[]>]
    [-ThrottleLimit <Int32>]
    [-AsJob]
    [<CommonParameters>]

Description

The Get-DAMgmtServer cmdlet displays the configured management servers. Management server here refers to update servers, Domain Controllers, and other servers.

The server addresses are displayed in the same format in which the addresses were originally added (IPv4 or IPv6 address, or host name).

Management server configuration is applicable globally, to the entire DirectAccess (DA) deployment and hence is not impacted by multi-site deployments.

Examples

EXAMPLE 1

PS C:\> Get-DAMgmtServer -Type DC
DC1.corp.contoso.com

This example retrieves a list of all domain controllers which were configured automatically by DA and does not include the servers configured manually.

Parameters

-AsJob

Runs the cmdlet as a background job. Use this parameter to run commands that take a long time to complete.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-CimSession

Runs the cmdlet in a remote session or on a remote computer. Enter a computer name or a session object, such as the output of a New-CimSession or Get-CimSession cmdlet. The default is the current session on the local computer.

Parameter properties

Type:

CimSession[]

Default value:None
Supports wildcards:False
DontShow:False
Aliases:Session

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ComputerName

Specifies the IPv4 or IPv6 address, or host name, of the computer on which the remote access server computer specific tasks should be run.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:Cn

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ThrottleLimit

Specifies the maximum number of concurrent operations that can be established to run the cmdlet. If this parameter is omitted or a value of 0 is entered, then Windows PowerShell® calculates an optimum throttle limit for the cmdlet based on the number of CIM cmdlets that are running on the computer. The throttle limit applies only to the current cmdlet, not to the session or to the computer.

Parameter properties

Type:Int32
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Type

Specifies the type of management server to be listed. The acceptable values for this parameter are: DC, SCCM, Manual, or All. If not specified, then manual and Configuration Manager servers will be output. Anything that is not a Domain Controllers is listed.

Parameter properties

Type:String
Default value:None
Accepted values:Manual, Sccm, DC, All
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
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.

Inputs

None

Outputs

String

The array of strings consists of the following properties:

-- The list of management servers configured.