I enjoy scripting mainly Powershell, as and since working with Powershell I understand what is the “Sky is not the limit” mean, I wrote a lot of scripts which made my work way easier and now a day I am writing and publishing more script to the public so everyone can feel and enjoy the power of Powershell. Take a look at an easy way to Create a Temp file with a fixed size using PowerShellįaris is an enterprise architect, Consultant, Certified Trainer, and blogger, Faris Malaeb started in the computer field in the early 2000 and get certified with MCSE 2003, Messenging 2003, MCTS Exchange 2007, MCITP, MCSA 2012, M365 Messaging, and more.įaris believes in sharing knowledge is an essential key for progressing and learning for everyone, with the more the technology is getting the more help and contribution need, so I deiced to be part of this community and provide the knowledge of what I know or have through my blog I am, also contributing in Powershell Techcommunity forums on Microsoft Īnd in 2015, I had a contribution with Amazon on Using Windows Storage Space and ISCSI on Amazon EBS. Invoke-WmiMethod –ComputerName $computername -Class win32_process -Name create -ArgumentList $FullExecPathĭid this tip help, Let me know in the comment, and if you are looking for additional PowerShell tips, also let me know in the comment? Write-Host $FullExecPath -ForegroundColor Green As a result, which simplifies the uninstallation of Remote Desktop Manager. The only registry settings created are for the auto-run functionality and the installation path. $FullExecPath='"C:\Program Files (x86)\Google\Chrome\Application\' $VersionNumber '\Installer\setup.exe" -uninstall -system-level -verbose-logging -force-uninstall' Remote Desktop Manager does not install anything in the Windows System directory. Write-Host "Version number is "$VersionNumber -ForegroundColor Green $VersionNumber=(Get-ChildItem -Path "\\$computername\c$\Program Files (x86)\Google\Chrome\Application" | where ).Name Just make sure that you have the proper permission on the remote machine. The below PowerShell script should uninstall any Google Chrome version and can be used to remotely uninstall Google Chrome. So the path can change depending on the version number. Google Chrome path is a bit tricky as each version is installed with the google chrome version number.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |