Looking to elevate your IT skills to the next level? Check out this amazing course on Mastering IT Systems Administration & Azure Cloud Engineering by Udemy! www.udemy.com/course/mastering-it-systems-administration-azure-cloud-engineering/?referralCode=81DA57AB02F994FFEFA2
Hi. This is awesome for a single machine or two but what if you have a list of computers that need the same software uninstalled. How can I use a list of machines and use psexec to connect to them all?
Hi Melinda, that is a good question. I have been using Psexec for a long time, I only use to connect to just 1 device. To uninstall software on multiple device in my company, we use SCCM, Microsoft Intune or you could use group Policy script.
Hi, are these apps installed from Microsoft Store? These apps will not display using Get-WmiObject. To display installed store apps use the following command: get-appxpackage
@@Kelvglobal Thank you Bro. nothey are not from MS Store. For example I am trying to get-rid of all the p2p apps installed on corporate laptops. Back to gt-appxpackage = How would you pass the uninstall parameters to get-packages ?
@@domuseuropa For example, let say we want to uninstall camera app because it is not functioning well. You can run the following command Get-AppxPackage -allusers | Select Name, PackageFullName > C:\temp\applist.txt This will get all the apps on your device and pipe all the info into applist.txt Check the above list applist.txt and find camera in the list We can now use the below command to uninstall camera app get-appxpackage *Microsoft.WindowsCamera* | remove-appxpackage
@@Kelvglobal My Issue here, non of the Peer to peer apps are not showing on get-appxpackage . the only way I can see them get-package. this is why I wanted to run get-package to uninstall.
how to uninstall programs which starts with name Java ( for example if i have more than program which starts with the name java and i want to uninstall it in a single command) kindly help
Hi Sisira, Are you trying to uninstall the software from the a specific device or multiple device. Is this a company computer? if this is a company computer, your company could use tools like Microsoft Intune, Sccm or other 3rd party tool to uninstall software on multiple devices.
I tried to execute this command with Microsoft Visio Professional 2013 however the application is still there does this work for .msi files? or is there something in my environment possibly prohibiting this from executing?
What if I don't see the program which I want to remove on the list? f. ex. I can't see Foxit reader when i type: "Get-WmiObject -Class Win32_Product | Select-Object -Property Name"
Hello. Yes, you can use the script to uninstall a particular version of app. You will need to find the name of the software you want to uninstall and pipe it to a variable Find all installed app on your device Get-WmiObject -Class Win32_Product | Select-Object -Property Name If for example, you want to uninstall java 8 update 311, you will need to invoke the name into the variable of $MyApp. $MyApp = Get-WmiObject -Class Win32_Product | Where-Object{$_.Name -eq "Java 8 Update 311 (64-bit)"} With the below you can uninstall the application by invoking the variable $MyApp.Uninstall()
This works great, anyone with PowerShell know how can make it a remote execution command by adding the Computer Name and a credential with admin access on that remote computer. (Get-WMIObject -Class Win32_Product -ComputerName -Credential $(Get-Credential) | ? Name -eq "").Uninstall()
Hi Chamira, You don´t need to install PsExec on the remote device you are trying to connect to. You will only need PsExec on the main device you are using.
Hi, thanks for watching my video. I used Psexec to remotely connect to the device powershell. It can also be used to connect to the command prompt of the device. See tutorial on how to use Psexec to connect to remote devices. ruclips.net/video/NTqTUXbk_Mk/видео.html
I found this to hard to follow and not very good directions at times it's a language barrier 🚧 but mostly the bouncy fast talk and lack of percisive directions
I apologize if the video did not meet your expectation. Naturally, I am a very fast speaker and creating videos for the general public should be indeed different. I have being doing my best to improve and talk more slowly and articulate when creating content.
I believe you can succeed and you have a lot of knowledge that people will benefit from. maybe try to outline each chapter on paper for yourself to follow 1st.& parts your going to cover. Like the very basics if that's your targeted audience. Example:CMD stands for brief: (summary 1), brief: (summary 2)and you can do many things with CMD/PowerShell. In part1 you'll cover 1-7 basics or advance operations etc etc. Bless you brother keep trying & you'll get better and better also I can tell you have the tough skin it takes to make it. The way you handled and responded to the comments says a lot about your character. Real stand up individual you could teach some on how to listen and not be so overly sensitive. Peace love & much respect brotha.
Thanks a lot for your feedback. I receive a lot of positive comment on my channel, but comment like this make me improve and keeps me on the right part to succeed on RUclips. It should not always be positive, I believe you speak the truth and I definitely should listen when someone tried to correct me. I will surely do my best to start putting my chapters on papers which I started doing recently. Thanks a lot for your encouragement and feedback. I appreciate you.
Looking to elevate your IT skills to the next level? Check out this amazing course on Mastering IT Systems Administration & Azure Cloud Engineering by Udemy! www.udemy.com/course/mastering-it-systems-administration-azure-cloud-engineering/?referralCode=81DA57AB02F994FFEFA2
Best way to master Win11 is to uninstall, lol gottem
Hey.. I have bought Become a professional IT System Engineer course. Thanks a lot sir.
Thanks for your support. I appreciate you.
Hi. This is awesome for a single machine or two but what if you have a list of computers that need the same software uninstalled. How can I use a list of machines and use psexec to connect to them all?
Hi Melinda, that is a good question. I have been using Psexec for a long time, I only use to connect to just 1 device. To uninstall software on multiple device in my company, we use SCCM, Microsoft Intune or you could use group Policy script.
@@Kelvglobal Thank you for your response. I think I'm going to have to reach out to our engineering department to see if it could be done via SCCM.
@@Kelvglobal Hello, i would like to find out, can i uninstall an application via Microsoft Intune that was manually deployed/installed?
Thank you. Do you know why some Apps wont show Get-WmiObject -Class Win32_Product | Select-Object -Property Name ?
Hi, are these apps installed from Microsoft Store? These apps will not display using Get-WmiObject. To display installed store apps use the following command: get-appxpackage
@@Kelvglobal Thank you Bro. nothey are not from MS Store. For example I am trying to get-rid of all the p2p apps installed on corporate laptops.
Back to gt-appxpackage = How would you pass the uninstall parameters to get-packages ?
@@domuseuropa For example, let say we want to uninstall camera app because it is not functioning well.
You can run the following command Get-AppxPackage -allusers | Select Name, PackageFullName > C:\temp\applist.txt
This will get all the apps on your device and pipe all the info into applist.txt
Check the above list applist.txt and find camera in the list
We can now use the below command to uninstall camera app
get-appxpackage *Microsoft.WindowsCamera* | remove-appxpackage
@@Kelvglobal My Issue here, non of the Peer to peer apps are not showing on get-appxpackage . the only way I can see them get-package. this is why I wanted to run get-package to uninstall.
What are connecting to device, if you only computer, are connecting to your single computer?
how to uninstall programs which starts with name Java ( for example if i have more than program which starts with the name java and i want to uninstall it in a single command) kindly help
Hi Sisira, Are you trying to uninstall the software from the a specific device or multiple device. Is this a company computer? if this is a company computer, your company could use tools like Microsoft Intune, Sccm or other 3rd party tool to uninstall software on multiple devices.
I tried to execute this command with Microsoft Visio Professional 2013 however the application is still there does this work for .msi files? or is there something in my environment possibly prohibiting this from executing?
I also tried the same thing and it failed
What if I don't see the program which I want to remove on the list? f. ex. I can't see Foxit reader when i type: "Get-WmiObject -Class Win32_Product | Select-Object -Property Name"
When you go to Program & Features, is Foxit there? Are you sure the program is still installed on your device?
@@Kelvglobal Yes, it is
zapodaj.net/e461a19e8bbc0.jpg.html
Do you have Admin right on the computer?, But it seems you don´t have admin right on the device
@@Kelvglobal Yes I have. I can uninstall other programs, only not Foxit.
Where I can put it to run this script automatically by group policy I want to uninstall eset from 2400 pc
Thank you so much bro!!
Thanks for your feedback
Can we use this script to uninstall a particular version of app?
Hello. Yes, you can use the script to uninstall a particular version of app.
You will need to find the name of the software you want to uninstall and pipe it to a variable
Find all installed app on your device
Get-WmiObject -Class Win32_Product | Select-Object -Property Name
If for example, you want to uninstall java 8 update 311, you will need to invoke the name into the variable of $MyApp.
$MyApp = Get-WmiObject -Class Win32_Product | Where-Object{$_.Name -eq "Java 8 Update 311 (64-bit)"}
With the below you can uninstall the application by invoking the variable
$MyApp.Uninstall()
This works great, anyone with PowerShell know how can make it a remote execution command by adding the Computer Name and a credential with admin access on that remote computer.
(Get-WMIObject -Class Win32_Product -ComputerName -Credential $(Get-Credential) | ? Name -eq "").Uninstall()
Even i want to know.......Pleas suggest..
This works id PsExec installed in remote pc right ?
Hi Chamira, You don´t need to install PsExec on the remote device you are trying to connect to.
You will only need PsExec on the main device you are using.
@@Kelvglobal That's cool. Thanks man
How did you create a connection to remote machine
Hi, thanks for watching my video. I used Psexec to remotely connect to the device powershell. It can also be used to connect to the command prompt of the device. See tutorial on how to use Psexec to connect to remote devices. ruclips.net/video/NTqTUXbk_Mk/видео.html
@@Kelvglobal thank you. What about user credentials while connecting?
Thank you 👍
Thanks for your feedback, I appreciate you.
This appears to be local and not remotely
No, it was remotely, check the title of Console Window.
Thakns Sir
Thanks for your feedback, Please don´t forget to like and subscribe to my channel
@@Kelvglobal Sir, excuse my english. Bu i am not only am I a subscriber, but I want to buy your courses. You're saving my job.
I found this to hard to follow and not very good directions at times it's a language barrier 🚧 but mostly the bouncy fast talk and lack of percisive directions
I apologize if the video did not meet your expectation. Naturally, I am a very fast speaker and creating videos for the general public should be indeed different. I have being doing my best to improve and talk more slowly and articulate when creating content.
I believe you can succeed and you have a lot of knowledge that people will benefit from. maybe try to outline each chapter on paper for yourself to follow 1st.& parts your going to cover. Like the very basics if that's your targeted audience. Example:CMD stands for brief: (summary 1),
brief: (summary 2)and you can do many things with CMD/PowerShell. In part1 you'll cover 1-7 basics or advance operations etc etc. Bless you brother keep trying & you'll get better and better also I can tell you have the tough skin it takes to make it. The way you handled and responded to the comments says a lot about your character. Real stand up individual you could teach some on how to listen and not be so overly sensitive. Peace love & much respect brotha.
Thanks a lot for your feedback. I receive a lot of positive comment on my channel, but comment like this make me improve and keeps me on the right part to succeed on RUclips. It should not always be positive, I believe you speak the truth and I definitely should listen when someone tried to correct me. I will surely do my best to start putting my chapters on papers which I started doing recently. Thanks a lot for your encouragement and feedback. I appreciate you.