Get-DattoRMMAccountDevice
SYNOPSIS
Fetches the devices of the authenticated user’s account.
SYNTAX
Get-DattoRMMAccountDevice [[-FilterID] <String>] [[-Hostname] <String>] [[-DeviceType] <String>]
[[-OperatingSystem] <String>] [[-SiteName] <String>] [[-Page] <Int32>] [[-Max] <Int32>] [-AllResults]
[<CommonParameters>]
DESCRIPTION
The Get-DattoRMMAccountDevice cmdlet fetches the devices of the authenticated user’s account
EXAMPLES
EXAMPLE 1
Get-DattoRMMAccountDevice
Gets the first 250 account sites
EXAMPLE 2
Get-DattoRMMAccountDevice -Page 2 -Max 5
Get the first defined number of items from the define page
PARAMETERS
-FilterID
Filters results based on the provided device id
If applied, this filter exclusively determines the results
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Hostname
Filters results based on the provided device hostname
Filters results based on the provided value using the LIKE operator Partial matches are allowed
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-DeviceType
Filters results based on the provided device type
Filters results based on the provided value using the LIKE operator Partial matches are allowed
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-OperatingSystem
Filters results based on the provided device OS
Filters results based on the provided value using the LIKE operator Partial matches are allowed
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-SiteName
Filters results based on the provided site name
Filters results based on the provided value using the LIKE operator Partial matches are allowed
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 5
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Page
Return items starting from the defined page number
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: 6
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
-Max
Return the first N items
Allowed Value: 1-250
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: 7
Default value: 250
Accept pipeline input: False
Accept wildcard characters: False
-AllResults
Returns all items from an endpoint
Highly recommended to only use with filters to reduce API errors\timeouts
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.DattoRMM/site/Account/Get-DattoRMMAccountDevice.html
https://zinfandel-api.centrastage.net/api/swagger-ui/index.html