splashtop_uninstall.ps1 - limehawk/rmm-scripts GitHub Wiki
splashtop_uninstall.ps1
Uninstalls Splashtop Streamer from a Windows system using the Windows Installer service.
Overview
This script automates the removal of Splashtop Streamer by querying the Windows Installer service for the product and executing a silent uninstall.
Purpose
Uninstalls Splashtop Streamer from a Windows system using the Windows Installer service (MSI uninstall).
Prerequisites
- Windows OS
- Administrator privileges
- Splashtop Streamer installed
Configuration
Required Inputs
$productName: Display name of the Splashtop product to uninstall
Hardcoded default:
- Product Name:
Splashtop Streamer
Behavior
- Validates input parameters
- Searches for Splashtop Streamer in installed products
- Retrieves the identifying number (GUID)
- Executes silent uninstall via CIM method
- Reports final status
Security Notes
- No secrets in logs
Exit Codes
- 0 = Success
- 1 = Failure
Example Output
[ INPUT VALIDATION ]
--------------------------------------------------------------
Product Name : Splashtop Streamer
Inputs validated successfully
[ PRODUCT LOOKUP ]
--------------------------------------------------------------
Searching for installed Splashtop Streamer...
Found : Splashtop Streamer
Product ID : {12345678-1234-1234-1234-123456789012}
[ UNINSTALLATION ]
--------------------------------------------------------------
Uninstalling Splashtop Streamer...
Uninstall completed successfully
[ FINAL STATUS ]
--------------------------------------------------------------
Result : SUCCESS
Splashtop Streamer has been uninstalled
[ SCRIPT COMPLETED ]
--------------------------------------------------------------
Version History
- 2024-12-01 v1.0.0 - Initial release - migrated from SuperOps
Links
- View Script Source
- Scripts - Back to script index