< Back

Get-SpbmPointInTimeReplica

Sun Jan 19, 2020 7:15 pm

NAME Get-SpbmPointInTimeReplica



SYNOPSIS

This cmdlet retrieves the point in time replica objects for the specified target replication groups.





SYNTAX

Get-SpbmPointInTimeReplica [[-Name] <String[]>] [-Count <Int32>] [-FromDate <DateTime>] [-ReplicationGroup

<SpbmReplicationGroup[]>] [-Server <VIServer[]>] [-ToDate <DateTime>] [-VasaProvider <VasaProvider[]>] [-VasaTag

<String[]>] [<CommonParameters>]



Get-SpbmPointInTimeReplica -Id <String[]> [-Server <VIServer[]>] [<CommonParameters>]





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

-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.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-FromDate <DateTime>

Retrieves point in time replica objects created on the specified date or later.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Id <String[]>

Filters the retrieved point in time replica objects by ID.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Name <String[]>

Filters the retrieved point in time replica objects by name.



Required? false

Position? 1

Default value None

Accept pipeline input? False

Accept wildcard characters? true



-ReplicationGroup <SpbmReplicationGroup[]>

Specifies the target replication group for which you want to retrieve replica objects.



Required? false

Position? named

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? true



-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.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? true



-ToDate <DateTime>

Retrieves point in time replica objects created earlier than the specified date.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-VasaProvider <VasaProvider[]>

Specifies the VASA provider from which you want to retrieve replica objects.



Required? false

Position? named

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? true



-VasaTag <String[]>

Restricts results to replica objects that have at least one of the specified VASA tags. The tags are

case-sensitive.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? true



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

Zero or more SpbmPointInTimeReplica objects







NOTES









-------------------------- 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.



RELATED LINKS

Online Version: https://code.vmware.com/doc/preview?id= ... plica.html