PowerShell Remotely Uninstall Software from Multiple Computers
In this video you will be able to uninstall software remotely from multiple computer, We are using here "Get-Package" to get the application name and then we are using "uninstall-Package" to uninstall the selected package from first command. You dont have to specify the full name of the software, you can use few starting words and then "*" sign so it will match your name with installed software and then uninstall it. I am giving script here so you can use it, please let me know if you are facing any issue. ============================================================ $Servers = Get-content "C:\Scripts\livePCs.txt" Foreach ($Server in $Servers){ Invoke-Command -ComputerName $Server -ScriptBlock { (Get-Package -Name "adobe acrobat reader*" | Uninstall-Package -ErrorAction SilentlyContinue) , (Get-Package -Name "7-Zip*" | Uninstall-Package -ErrorAction SilentlyContinue) }} ============================================================ You can watch below Videos to learn PowerShell Scripts. PowerShell Search Specific KB Status on Remote Computers https://youtu.be/9HtcVT_kifg PowerShell Script to Connect Multiple Server's Remote Session https://youtu.be/zaSxFqLTf0s PowerCLI Script to power ON dedicated VMs listed in a text file https://youtu.be/4DWVuFaSxYA PowerCLI Script to power Off dedicated VMs listed in a text file https://youtu.be/bcz_5QUEhR8 Delete Snapshot's from Multiple Virtual Machines https://youtu.be/yfQ50dyEjSU Create Snapshot on Multiple Virtual Machine https://youtu.be/Nsmsa9FgFv4 How can I check if a port is open remotely https://youtu.be/-JCKk9_vVBc Installing software remotely on Multiple "Workgroup" Computers https://youtu.be/QT4u74JWbOM PowerShell Installing software remotely on Multiple Computers https://youtu.be/E9yaYVbzgb4 Unable to move OU in Active Directory (Access is denied) https://youtu.be/0XRizUBbj3s PowerShell Installing software remotely on Multiple Computers https://youtu.be/E9yaYVbzgb4 Get Multiple Services Status Remotely | Remotely Start or Stop Services https://youtu.be/C8PrFNbdLj8 Get Date and Time from Multiple Remote Computers https://youtu.be/ZpMio_y1zn8 PowerCLI - How to get HA restarted VM's List https://youtu.be/0IRJvZH9paQ Get-Childitem - Search file on Local and Remote Computers https://youtu.be/kHkD5M-mk0A Remotely Create Update Delete Registry Key on Multiple Computers https://youtu.be/Hxlqr3zdxHM Get service status from remote server's using PowerShell https://youtu.be/7fIG_brMONU
Download
1 formatsVideo Formats
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.