Syntax
Get-SpbmPointInTimeReplica [[-Name] <String[]>] [-ReplicationGroup <SpbmReplicationGroup[]>] [-VasaTag <String[]>] [-VasaProvider <VasaProvider[]>] [-FromDate <DateTime>] [-ToDate <DateTime>] [-Count <Int32>] [-Server <VIServer[]>] [<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.