Export (0) Print
Expand All
Expand Minimize

Get-VMReplicationAuthorizationEntry

Windows Server 2012 R2 and Windows 8.1

Updated: June 10, 2014

Applies To: Windows 8.1, Windows PowerShell 4.0, Windows Server 2012 R2

Get-VMReplicationAuthorizationEntry

Gets the authorization entries of a Replica server.

Syntax

Parameter Set: Default
Get-VMReplicationAuthorizationEntry [[-AllowedPrimaryServer] <String> ] [-ComputerName <String[]> ] [-ReplicaStorageLocation <String> ] [-TrustGroup <String> ] [ <CommonParameters>]




Detailed Description

The Get-VMReplicationAuthorizationEntry cmdlet gets the replication authorization entries specified for a Replica server.

Parameters

-AllowedPrimaryServer<String>

Specifies the allowed primary server for which replication authorization entries are to be retrieved.


Aliases

AllowedPS

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

true

-ComputerName<String[]>

Specifies one or more Hyper-V hosts from which replication authorization entries are to be retrieved. 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?

named

Default Value

.

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ReplicaStorageLocation<String>

Specifies the location where virtual hard disk files are stored when an authorized primary server sends replication data to the specified Replica server.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

true

-TrustGroup<String>

Gets the replication authorization entries that have the specified value for TrustGroup.


Aliases

none

Required?

false

Position?

named

Default Value

none

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.

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.

  • VMReplicationAuthorizationEntry

Examples

Example 1

This example gets the replication authorization entries for the local Replica server.


PS C:\> Get-VMReplicationAuthorizationEntry

Example 2

This example gets the replication authorization entry for an allowed primary server named server01.domain01.contoso.com.


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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft