2.5 KiB
external help file, Module Name, online version, schema
| external help file | Module Name | online version | schema |
|---|---|---|---|
| ZertoApiWrapper-help.xml | ZertoApiWrapper | https://github.com/ZertoPublic/ZertoApiWrapper/blob/master/docs/Get-ZASitePair.md | 2.0.0 |
Get-ZASitePair
SYNOPSIS
Get all the sites, protected and recovery, filtered by start date and end date.
SYNTAX
Get-ZASitePair [[-zOrgIdentifier] <String>] [[-startDate] <String>] [[-endDate] <String>] [<CommonParameters>]
DESCRIPTION
Get all the sites, protected and recovery, filtered by start date and end date.
- When startDate is omitted, the default startDate is 7 days before the endDate.
- When endDate is ommited, the default endDate is the current date.
- When both startDate and endDate are omitted, the default date range is the last 7 days.
EXAMPLES
Example 1
PS C:\> Get-ZASitePair
Returns all site pairings.
Example 1
PS C:\> Get-ZASitePair -zOrgIdentifier "9876-5432-1098"
Returns all site pairings belonging to zOrg with Identifier "9876-5432-1098".
PARAMETERS
-endDate
End date in RFC 3339 standard ('1970-01-01T00:00:00Z'). If the end date is omitted, the default endDate is the current date.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-startDate
Start date in RFC 3339 standard ('1970-01-01T00:00:00Z'). If the start date is omitted, the default start date is 7 days before the end date.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-zOrgIdentifier
The ZORG identifier by which to filter the site list. If the ZORG identifier is omitted, a list of all sites is retrieved.
Type: String
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).