Skip to content

A PowerShell module that connects to the Datto RMM API

License

Notifications You must be signed in to change notification settings

ArcusIT/DattoRMM

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basics

Install the module from PowerShell Gallery and enter your API keys:

# Download and install the module
Install-Module DattoRMM

# Enter API Url and API keys
$apiUrl         	=	'<Datto RMM API Url>'
$apiKey         	=	'<Datto RMM API Key>'
$apiSecretKey   	=	'<Datto RMM API Secret Key>'

# Load DattoRMM Module
Import-Module DattoRMM -ArgumentList $apiUrl, $apiKey, $apiSecretKey 

# Get Devices Patch Status
ForEach ($Site in Get-DrmmAccountSites -noDeletedDevices)
{
    Foreach ($Device in Get-DrmmSiteDevices $Site.uid)
    {
        $Device.hostname + " = " + $Device.patchManagement.patchStatus
    }
}

Datto RMM API

How to create API keys goto https://help.aem.autotask.net/en/Content/2SETUP/APIv2.htm for more information.
For the REST API properties goto https://merlot-api.centrastage.net/api/swagger-ui.html#/ for more information.

Release notes

Version 1.0.0.8

  • Added New-DrmmSite
  • Added Set-DrmmSite
  • Added Set-DrmmSiteProxy
  • Added Set-DrmmSiteResolvedAlerts
  • Added Set-DrmmSiteOpenAlerts
  • Added Get-DrmmSiteSettings
  • Added Get-DrmmDeviceResolvesAlerts
  • Added Get-DrmmDeviceOpenAlerts
  • Added Get-DrmmDeviceQuickJob
  • Added Get-DrmmJobStatus
  • Added Move-DrmmDeviceToSite
  • Added Remove-DrmmSiteProxy

Version 1.0.0.7

  • Added Get-DrmmAlert Function
  • Added Set-DrmmAlertMute Function
  • Added Set-DrmmAlertResolve Function
  • Added Set-DrmmAlertUnmute Function
  • Added Set-DrmmDeviceUdf Function
  • Added Set-DrmmDeviceWarranty Function

Version 1.0.0.6

  • Added -NoDeletedDevices Parameter to Get-DrmmSiteDevices to ignore the 'Deleted Devices' site.
  • Added Get-DrmmAccount Function
  • Added Get-DrmmAccountAlertsOpen Function
  • Added Get-DrmmAccountAlertsResolved Function
  • Added Get-DrmmAccountComponents Function
  • Added Get-DrmmAccountDevices Function
  • Added Get-DrmmAccountUsers Function

Version 1.0.0.5

  • Added Get-DrmmSiteDevices Function
  • Added Get-DrmmAccountSites Function
  • Added New-ApiRequest Function
  • Added New-ApiAccessToken Function

About

A PowerShell module that connects to the Datto RMM API

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PowerShell 100.0%