Skip to content

ernestovalent/uninstall-OCS-Inventory-Agent-Windows-with-PowerShell

Repository files navigation

Uninstall OCS Inventory Agent Windows using PowerShell

This script uninstalls the OCS Windows Agent program from the computer where it is running. OCS is software used to record inventory. You can find out more information at https://ocsinventory-ng.org/.

You can run this script as a policy on the active directory domain.

If you want to run this script manually on your computer, you will need to:

  1. Allow external program execution policy. run: Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
  2. Execute as an administrator

You can see how it works in the following diagram:

Diagram of script

Next Changes

  • Send email after changes to notify a admin.

About

Uninstall OCS Inventory Agent Windows using PowerShell

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published