Table of contents
TLS
TOC
Collapse the table of content
Expand the table of content

Get-DAMgmtServer

Last Updated: 4/3/2017

SYNOPSIS

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

SYNTAX

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.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: 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.

Type: CimSession[]
Parameter Sets: (All)
Aliases: Session

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: 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.

Type: String
Parameter Sets: (All)
Aliases: Cn

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: 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.

Type: Int32
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: 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.

Type: String
Parameter Sets: (All)
Aliases: 
Accepted values: Manual, Sccm, DC, All

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

None

OUTPUTS

System.String[]

The array of strings consists of the following properties:

-- The list of management servers configured.

NOTES

Add-DAMgmtServer

Remove-DAMgmtServer

Update-DAMgmtServer

© 2017 Microsoft