Syntax
Get-SpbmPointInTimeReplica [[-Name] <String[]>] [-Count <Int32>] [-FromDate <DateTime>] [-ReplicationGroup <SpbmReplicationGroup[]>] [-Server <VIServer[]>] [-ToDate <DateTime>] [-VasaProvider <VasaProvider[]>] [-VasaTag <String[]>] [<CommonParameters>]Related Commands
Online VersionDetailed Description
This cmdlet retrieves the point in time replica objects for the specified target replication groups. The cmdlet retrieves the point in time replicas by replication group, from date (inclusive), to date (exclusive), name, VASA tag, VASA provider, and replica ID.Parameters
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
Name | String[] | Filters the retrieved point in time replica objects by name. | false | False | |
Count | Int32 | Specifies the number of point in time replica objects you want to retrieve for each replication group. This restricts the result to a maximum count number of replica objects for each replication group. | false | False | |
FromDate | DateTime | Retrieves point in time replica objects created on the specified date or later. | false | False | |
Id | String[] | Filters the retrieved point in time replica objects by ID. | true | False | |
ReplicationGroup | SpbmReplicationGroup[] | Specifies the target replication group for which you want to retrieve replica objects. | false | True (ByValue) | |
Server | VIServer[] | Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is given to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-VIServer. | false | False | |
ToDate | DateTime | Retrieves point in time replica objects created earlier than the specified date. | false | False | |
VasaProvider | VasaProvider[] | Specifies the VASA provider from which you want to retrieve replica objects. | false | True (ByValue) | |
VasaTag | String[] | Restricts results to replica objects that have at least one of the specified VASA tags. The tags are case-sensitive. | false | False |
Return Type
Zero or more SpbmPointInTimeReplica objectsNotes
Examples
-------------------------- Example 1 --------------------------
Get-SpbmPointInTimeReplica -ReplicationGroup $targetRg
Retrieves all point in time replicas from the $targetRg target replication group.
-------------------------- Example 2 --------------------------
Get-SpbmPointInTimeReplica -VasaProvider $vasaProvider -FromDate $from -ToDate $to
Retrieves point in time replicas created between $from and $to by the $vasaProvider VASA provider for all its target replication groups.