Get-VMReplicationServer

Get-VMReplicationServer

Gets the replication and authentication settings of a Replica server.

Syntax

Parameter Set: CimSession
Get-VMReplicationServer [-CimSession] <Microsoft.Management.Infrastructure.CimSession[]> [ <CommonParameters>]

Parameter Set: ComputerName
Get-VMReplicationServer [[-ComputerName] <System.String[]> ] [[-Credential] <System.Management.Automation.PSCredential[]> ] [ <CommonParameters>]

Detaillierte Beschreibung

The Get-VMReplicationServer cmdlet gets the replication and authentication settings of a Replica server.

Parameter

-CimSession<Microsoft.Management.Infrastructure.CimSession[]>

Das Cmdlet wird in einer Remotesitzung oder auf einem Remotecomputer ausgeführt. Geben Sie einen Computernamen oder ein Sitzungsobjekt ein, wie z. B. die Ausgabe eines New-CimSession oder Get-CimSession-Cmdlets. Der Standardwert ist die aktuelle Sitzung auf dem lokalen Computer.

Aliase

none

Erforderlich?

true

Position?

1

Standardwert

none

Pipelineeingaben akzeptieren?

true(ByValue)

Platzhalterzeichen akzeptieren?

false

-ComputerName<System.String[]>

Specifies one or more Hyper-v hosts which run this cmdlet. NetBIOS names, IP addresses, and fully qualified domain names are allowable. The default is the local computer. Use localhost or a dot (.) to specify the local computer explicitly.

Aliase

none

Erforderlich?

false

Position?

1

Standardwert

none

Pipelineeingaben akzeptieren?

true(ByValue)

Platzhalterzeichen akzeptieren?

false

-Credential<System.Management.Automation.PSCredential[]>

Specifies one or more user accounts that have permission to perform this action. The default is the current user.

Aliase

none

Erforderlich?

false

Position?

2

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

<CommonParameters>

Dieses Cmdlet unterstützt die allgemeinen Parameter: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer und -OutVariable. Weitere Informationen finden Sie unter about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Eingaben

Der Eingabetyp ist der Typ der Objekte, die Sie per Piping an das Cmdlet übergeben können.

Ausgaben

Der Ausgabetyp ist der Typ der Objekte, die vom Cmdlet ausgegeben werden.

  • VMReplicationServer

Beispiele

Example 1

This example gets the replication configuration of the local Replica server.

PS C:\>  Get-VMReplicationServer

Example 2

This example gets the replication configuration of a server named server01.domain01.contoso.com.

PS C:\>  Get-VMReplicationServer server01.domain01.contoso.com