
If this is the case, you can add it via the Column Chooser. NOTE The ID column is displayed by default, but may have been removed from your view. You can get this from the site list by clicking the Sites tab.
Copy the target site ID and paste it between the quotes of the $SiteID="" line. The platform name is at the start of the URL it will be Pinotage or Merlot (EMEA), Concord, Vidal, or Zinfandel (NA), or Syrah (APAC). Copy the platform name of your Datto RMM account and paste it between the quotes of the $Platform="" line. Remove-Item "$env:TEMP\DRMMSetup.exe" -Force Write-Output "Agent install completed at $(Get-Date -Format HH:mm) in $((Get-Date).Subtract($InstallStart).Seconds) seconds." Write-Output "Starting Agent install to target site at $(Get-Date -Format HH:mm)." Write-Output "Agent download completed in $((Get-Date).Subtract($DownloadStart).Seconds) seconds`r`n`r`n" If (Get-Service CagService -ErrorAction Silentl圜ontinue) # First check if Agent is installed and instantly exit if so Copy and paste this script block into a text editor:. Perform the following steps to create and customize the script. The generic script you need is below, but must be customized for each site. You will need a script for each site you wish to deploy Agents to. For more information, refer to Automated deployment of the Datto RMM Agent using third-party tools. NOTE Datto provides an automated process for new Datto RMM partners to bulk import sites and to create the PowerShell and Bash/Shell scripts required for deploying from Microsoft Endpoint Manager quickly and easily.
Upload the correct script for that customer’s Datto RMM site for the respective OS and associate it with the Device Group you created for them. For each site, create a Device Group within the Microsoft Endpoint Manager portal containing that customer’s Windows or macOS devices. Create scripts for each Datto RMM site you wish to deploy Agents to. We can leverage this functionality to deploy scripts that will download and install the Datto RMM Agent.
Microsoft Endpoint Manager has functionality to deploy and run PowerShell scripts to Managed Windows 10 devices and Bash and Shell scripts to managed macOS devices, provided that they are fully enrolled in Microsoft Endpoint Manager and not just Azure AD domain-joined.
Deploying the Datto RMM Agent using Microsoft Endpoint Manager (formerly Intune) Overview