🖥️ installgui.ps1 – Ivanti EPM Agent Deployment via GUI
This PowerShell script provides a graphical interface (GUI) to remotely deploy the Ivanti EPM Agent to multiple computers using PsExec. It includes optional forced uninstallation of any existing agent installation before reinstalling.
🚀 Features
- Simple WPF-based graphical interface
- Input: List of target computers (one per line)
- Copies a local folder to each remote machine
- Option to force uninstall the existing agent
- Executes installation via
PsExec - Validates:
- Folder path existence
- PsExec availability
- Network connectivity to each computer
🧰 Requirements
- Windows with PowerShell
PsExec64.exemust be placed in the same directory as the script- A local folder (
AgentEPM) containing:EPMAgentInstaller.exeUninstallWinClient.exe(for forced uninstalls)
🛠️ How to Use
-
Run PowerShell as Administrator.
-
Execute the script:
.\installgui.ps1 -
In the GUI:
- Enter one computer name or IP per line
- Confirm or change the path to the local folder to copy
- Optional) Check the "Force Uninstall" box
- Click Install