RMM Download ZIP to Public Desktop, Extract, Delete ZIP
Downloads a ZIP from a link, extracts it to Public Desktop, and removes the ZIP so only extracted folder remains.
Script Actions
Script Actions
Credibility
Last reviewed
Jul 8, 2026
Last tested
Jun 1, 2026
PowerShell
Windows PowerShell 5.1
Safety score
62/100
Documentation
100/100
Community rating
Coming soon
Downloads
Coming soon
Review status
approved
Verified by OperatorOS
Review
OperatorOS verified
Catalog
Official library
Safety
Static scan completed
RMM Download ZIP to Public Desktop, Extract, Delete ZIP is part of the official OperatorOS ScriptForge catalog. It has been reviewed for metadata completeness, safety scan results, PowerShell compatibility, and technician-facing documentation.
Script Body
# OperatorOS ScriptForge imported Xodus library script
# Workbook ref: SCR-012
# Title: RMM Download ZIP to Public Desktop, Extract, Delete ZIP
# Category: Software Deployment
# Ready state: Ready - URL Placeholder
# Workbook risk: medium
# Body type: PowerShell / Command Block
$OperatorOSFrameworkCandidates = @(
(Join-Path -Path $PSScriptRoot -ChildPath '..\..\..\framework\OperatorOS-ScriptFramework.psm1'),
(Join-Path -Path $PSScriptRoot -ChildPath '..\..\..\..\framework\OperatorOS-ScriptFramework.psm1')
)
$OperatorOSFrameworkPath = $OperatorOSFrameworkCandidates | Where-Object { Test-Path -LiteralPath $_ } | Select-Object -First 1
if ($OperatorOSFrameworkPath) {
Import-Module $OperatorOSFrameworkPath -Force
}
$ErrorActionPreference = 'Stop'
$DownloadUrl = "<DIRECT_ZIP_DOWNLOAD_URL>"
$PublicDesktop = [Environment]::GetFolderPath("CommonDesktopDirectory")
$WorkDir = Join-Path $env:ProgramData "Xodus\RMMDownloads"
$ZipPath = Join-Path $WorkDir "Payload.zip"
$ExtractPath = Join-Path $PublicDesktop "Payload"
New-Item -Path $WorkDir -ItemType Directory -Force | Out-Null
if (Test-Path $ExtractPath) { Remove-Item $ExtractPath -Recurse -Force -ErrorAction SilentlyContinue }
Invoke-WebRequest -Uri $DownloadUrl -OutFile $ZipPath -UseBasicParsing
Expand-Archive -Path $ZipPath -DestinationPath $ExtractPath -Force
Remove-Item $ZipPath -Force
Get-ChildItem $ExtractPath
Requirements
- Windows PowerShell 5.1 or newer for Windows Endpoint.
- Required tooling: PowerShell / Datto RMM.
- Recommended run context: Datto RMM LocalSystem or Admin.
Parameters
DownloadUrl
string / required
Workbook input carried forward from: $DownloadUrl, $DestinationFolder
DestinationFolder
path / required
Workbook input carried forward from: $DownloadUrl, $DestinationFolder
Examples
Run script
Runs the imported OperatorOS script after reviewing parameters and placeholders.
./software-deployment-rmm-download-zip-to-public-desktop-extract-delete-zip.ps1Changelog
1.0.0 - Imported from Xodus / OperatorOS Script Library workbook with OperatorOS metadata, redaction notes, and framework bootstrap.