Get-DattoBCDRShare
SYNOPSIS
Gets Datto BCDR shares for a given device
SYNTAX
Get-DattoBCDRShare -SerialNumber <String> [-Page <Int32>] [-PerPage <Int32>] [-AllResults] [<CommonParameters>]
DESCRIPTION
The Get-DattoBCDRShare cmdlet gets Datto BCDR shares for a given device
EXAMPLES
EXAMPLE 1
Get-DattoBCDRShare -SerialNumber "12345678"
Gets the Datto BCDR with the defined SerialNumber and returns any shares
EXAMPLE 2
Get-DattoBCDRShare -SerialNumber "12345678" -Page 2 -PageSize 10
Gets the Datto BCDR with the defined SerialNumber with the first 10 shares 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
RELATED LINKS
https://celerium.github.io/Celerium.DattoBCDR/site/BCDR/Get-DattoBCDRShare.html