Click here to Skip to main content
15,887,822 members
Articles / Programming Languages / PowerShell

Batch Uninstall Devices in PowerShell

Rate me:
Please Sign up or sign in to vote.
5.00/5 (1 vote)
16 Sep 2021CPOL1 min read 21.2K   2  
How to uninstall multiple devices at once using PowerShell ISE
This tip details the steps needed to batch remove Plug-and-Play devices from a Windows system in PowerShell. The script is designed to remove devices that have multiple copies installed, but can be adapted to fit other criteria. It requires the PowerShell ISE and pnputil.exe to work.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Team Leader
United States United States
This member doesn't quite have enough reputation to be able to display their biography and homepage.

Comments and Discussions