Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Disable and Uninstall a device

$
0
0

Hello,

How can I disable and uninstall a specific device.

I can get device as below:

Get-WmiObject Win32_PNPEntity |  Where-Object {$_.Name -like "*$DeviceName*"}

PS: I want to do belows scenerio by Powershell (V2)


Viewing all articles
Browse latest Browse all 6937

Trending Articles