external help file | Module Name | online version | schema |
---|---|---|---|
Diag-V-help.xml |
Diag-V |
2.0.0 |
Returns VM replication configuration and replication status for all detected VMs.
Get-VMReplicationStatus [[-Credential] <PSCredential>] [<CommonParameters>]
Automatically detects Standalone / Clustered Hyper-V and returns VM replication status information for all VMs.
Get-VMReplicationStatus
Returns VM replication status information for all detected VMs.
Get-VMReplicationStatus | Where-Object {$_.VMName -eq 'Server1'}
Returns VM replication status information for all VMs. Only Server1 will be displayed.
Get-VMReplicationStatus -Credential $credential
Returns VM replication status information for all detected VMs using the provided credentials.
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
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).
Author: Jake Morrison - @jakemorrison - https://techthoughts.info/ See the README for more details if you want to run this function remotely.