Skip to main content

Script - Uninstall N-Able

Summary​

This script performs the uninstallation of the N-Able (Windows Agent) application and deletes all its traces.

Sample Run​

Sample Run

Dependencies​

Uninstall-N-Able

Variables​

NameDescription
ProjectNameThis contains the agnostic PowerShell script name and sets it as a project, with the working directory at C:/ProgramData/_Automation/Script/@ProjectName@.
WorkingDirectoryThis is the directory where the agnostic script downloads and its logs are stored. The directory path is C:/ProgramData/_Automation/Script/@ProjectName@.
PS1LogThis stores the PowerShell informational logs for validation and saves them in the @WorkingDirectory@ folder with the name: @ProjectName@-log.txt.
PS1ErrorLogThis contains the PowerShell error logs for validation and saves them in the @WorkingDirectory@ folder with the name: @ProjectName@-error.txt.
ErrorLogThis contains the content of the error log file, i.e., @ProjectName@-error.txt.

Output​

  • Script log
  • Local file on the computer

Changelog​

2025-04-10​

  • Initial version of the document