Get-DattoBCDRVMRestore

SYNOPSIS

Gets Datto BCDR VM restores by serial number

SYNTAX

Get-DattoBCDRVMRestore -SerialNumber <String> [-Page <Int32>] [-PerPage <Int32>] [-AllResults]
 [<CommonParameters>]

DESCRIPTION

The Get-DattoBCDRVMRestore cmdlet gets device VM restores by serial number

EXAMPLES

EXAMPLE 1

Get-DattoBCDRVMRestore -SerialNumber 12345

Gest Datto VM restores from the defined device

EXAMPLE 2

Get-DattoBCDRVMRestore -SerialNumber "12345678" -Page 2 -PerPage 10

Gets the Datto BCDR VM restores with the defined SerialNumber with the first 10 restores from the 2nd Page of results

PARAMETERS

-SerialNumber

BCDR serial number to return data for

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-Page

Page number to return

Type: Int32
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-PerPage

Amount of items to return with each Page

Type: Int32
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-AllResults

Returns all items from an endpoint

This can be used in unison with -PerPage to limit the number of sequential requests to the API

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
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.

INPUTS

OUTPUTS

NOTES

N\A

https://celerium.github.io/Celerium.DattoBCDR/site/BCDR/Get-DattoBCDRVMRestore.html