Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <#
- .SYNOPSIS
- This script uninstall Cisco Meeting App.
- #>
- $uninstall32 = gci "HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall" | foreach { gp $_.PSPath } | ? { $_ -match "Cisco Meeting" } | select UninstallString | ft -HideTableHeaders | Out-String
- If ($uninstall32) {
- $uninstall32 = $uninstall32 -Replace "msiexec.exe", "" -Replace "/X",""
- $uninstall32 = $uninstall32.Trim()
- start-process "msiexec.exe" -arg "/X $uninstall32 /q" -Wait
- return 0
- }
- Else { return 210 }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement