Get-VMReplicationServer

Get-VMReplicationServer

Gets the replication and authentication settings of a Replica server.

Syntax

Parameter Set: Default
Get-VMReplicationServer [[-ComputerName] <String[]> ] [ <CommonParameters>]

Detailed Description

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

Parameters

-ComputerName<String[]>

Specifies one or more Hyper-V hosts for which to retrieve replication and authentication settings. 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.

Aliases

none

Required?

false

Position?

1

Default Value

.

Accept Pipeline Input?

true (ByValue)

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.

Outputs

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

  • VMReplicationServer

Examples

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