Skip to content
This repository has been archived by the owner on Apr 4, 2022. It is now read-only.

Latest commit

 

History

History
76 lines (55 loc) · 1.71 KB

Get-VMReplicationStatus.md

File metadata and controls

76 lines (55 loc) · 1.71 KB
external help file Module Name online version schema
Diag-V-help.xml
Diag-V
2.0.0

Get-VMReplicationStatus

SYNOPSIS

Returns VM replication configuration and replication status for all detected VMs.

SYNTAX

Get-VMReplicationStatus [[-Credential] <PSCredential>] [<CommonParameters>]

DESCRIPTION

Automatically detects Standalone / Clustered Hyper-V and returns VM replication status information for all VMs.

EXAMPLES

EXAMPLE 1

Get-VMReplicationStatus

Returns VM replication status information for all detected VMs.

EXAMPLE 2

Get-VMReplicationStatus | Where-Object {$_.VMName -eq 'Server1'}

Returns VM replication status information for all VMs. Only Server1 will be displayed.

EXAMPLE 3

Get-VMReplicationStatus -Credential $credential

Returns VM replication status information for all detected VMs using the provided credentials.

PARAMETERS

-Credential

PSCredential object for storing provided creds

Type: PSCredential
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
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 (http://go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

OUTPUTS

Selected.Microsoft.HyperV.PowerShell.VirtualMachine

NOTES

Author: Jake Morrison - @jakemorrison - https://techthoughts.info/ See the README for more details if you want to run this function remotely.

RELATED LINKS