다음을 통해 공유


Get-DAMgmtServer

Get-DAMgmtServer

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

Syntax

Parameter Set: Get1
Get-DAMgmtServer [-AsJob] [-CimSession <CimSession[]> ] [-ComputerName <String> ] [-ThrottleLimit <Int32> ] [-Type <String> ] [ <CommonParameters>]

Detailed 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.

Parameters

-AsJob

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-CimSession<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.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ComputerName<String>

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

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ThrottleLimit<Int32>

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.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Type<String>

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 SCCM servers will be output. Anything that is not a Domain Controllers is listed.

Aliases

none

Required?

false

Position?

named

Default Value

Manual

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • None

Outputs

The output type is the type of the objects that the cmdlet emits.

  • System.String[]

    The array of strings consists of the following properties:
    -- The list of management servers configured.

Examples

EXAMPLE 1

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

PS C:\> Get-DAMgmtServer -Type DC

Add-DAMgmtServer

Remove-DAMgmtServer

Update-DAMgmtServer