PowerShell Uninstall WinRAR Software Silently on Multiple Remote Computers

Поделиться
HTML-код
  • Опубликовано: 20 авг 2024
  • In this video you will be able to uninstall WinRAR software remotely from multiple computer, Here we are using WinRAR's default uninstaller located in its installation folder. We only have to pay attention to Silent Parameter "/s" which work for WinRAR but if you are using same script for any othyer software please verify silent parameter for it.
    ==========Script Here========
    $Servers = Get-content "C:\Scripts\livePCs.txt"
    Foreach ($Server in $Servers) {
    $Test = Test-Path -path "\\$Server\C$\Program Files\WinRAR\"
    If ($Test -eq $True) {(Write-Host "$Server WINRAR folder exists, hence Uninstalling softwires on $Server.") ,
    (Invoke-Command -ComputerName $Server -ScriptBlock {(&cmd.exe /c "C:\Program Files\WinRAR\Uninstall" /s)}) }
    else{
    Write-Host "$Server WINRAR folder is not found, hence skipping this computer"
    }}
    ==========================
    Find the Current User Logged on Remote Computer and Take Action
    • Find the Current User ...
    Remove User Account or Group from Local Groups on Remote Computers
    • Remove User Account or...
    Automate The Creation of Virtual Machines in VMWare
    • Automate The Creation ...
    PowerCLI Exclude List of VM's From Script Deleting Snapshots in VMware
    • PowerCLI Exclude List ...
    PowerCLI Power On a Suspended VMware Virtual Machine
    • PowerCLI Power On a Su...
    PowerShell Installing software remotely on Multiple Computers
    • PowerShell Installing ...
    PowerShell Send Email if Windows Service is in Stopped State
    • PowerShell Send Email ...
    PowerShell Send email if windows service is not running
    • PowerShell Send email ...
    Get Local Group Members From Remote computers
    • Get Local Group Member...
    Powershell Script To Change Service Account or Update Password
    • Powershell Script To C...
    Powershell How To Change Remote Computer (Workgroup) Local Account Password
    • Powershell How To Chan...
    Delete Virtual Machine Snapshots Older Than Specific Days
    • Delete Multiple Virtua...
    How To Create File Selection Dialog Box in PowerShell
    • How To Create File Sel...
    Add User/Group To The Local Administrators/RDP Group On Multiple Computers
    • Add User/Group To The ...
    Get Windows Updates list from Remote Computer
    • Get Windows Updates li...
    PowerShell Remotely Uninstall Software from Multiple Computers
    • PowerShell Remotely Un...
    PowerShell Search Specific KB Status on Remote Computers
    • PowerShell Search Inst...
    PowerShell Script to Connect Multiple Server's Remote Session
    • PowerShell Script to C...
    PowerCLI Script to power ON dedicated VMs listed in a text file
    • PowerCLI Script to pow...
    PowerCLI Script to power Off dedicated VMs listed in a text file
    • PowerCLI Script to pow...
    Delete Snapshot's from Multiple Virtual Machines
    • Delete Snapshot's from...
    Create Snapshot on Multiple Virtual Machine
    • Create Snapshot on Mul...
    How can I check if a port is open remotely
    • Identify if Windows TC...
    Installing software remotely on Multiple "Workgroup" Computers
    • Installing software re...
    PowerShell Installing software remotely on Multiple Computers
    • PowerShell Installing ...
    Unable to move OU in Active Directory (Access is denied)
    • Unable to move OU in A...
    PowerShell Installing software remotely on Multiple Computers
    • PowerShell Installing ...
    Get Multiple Services Status Remotely | Remotely Start or Stop Services
    • Get Multiple Services ...
    Get Date and Time from Multiple Remote Computers
    • Get Date and Time from...
    PowerCLI - How to get HA restarted VM's List
    • PowerCLI - How to get ...
    Get-Childitem - Search file on Local and Remote Computers
    • Get-Childitem - Search...
    Remotely Create Update Delete Registry Key on Multiple Computers
    • Remotely Create Update...
    Get service status from remote server's using PowerShell
    • Get service status fro...
  • НаукаНаука

Комментарии • 2

  • @vinodboddu1991
    @vinodboddu1991 Год назад +2

    I want to check what version of specific software running on multiple computers. Based on service or version number (eg: like Ms teams )

    • @SwapnilInfotech
      @SwapnilInfotech  Год назад +1

      Yes you can easily find that if you know the installed path of the software, please watch the video below where we have discussed searching files on remote computers with versions.
      ruclips.net/video/kHkD5M-mk0A/видео.html