howto powershell silent uninstall windows10
- User
howto powershell silent uninstall windows10
- Assistant
To perform a silent uninstall of a program using PowerShell in Windows 10, you can use the "Uninstall" method of the WMI Win32_Product class. Here is an example script:
Step 1: Open PowerShell with administrative privileges
Step 2: Run the following command to get a list of installed programs and find the exact name of the program you want to uninstall:
powershellGet-WmiObject -Class Win32_Product | Select-Object -Property Name, IdentifyingNumber
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.