Advertisement
Guest User

Untitled

a guest
Oct 18th, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. # Find the PUP/PUA or program to remove with:
  2. # Get-WmiObject -Class Win32_Product | select Name, IdentifyingNumber
  3.  
  4. param (
  5. [string]$Computer = $(Read-Host "Enter Remote Computer"),
  6. [string]$GUID = $(Read-Host "Enter the GUID/IdentifyingNumber of the PUP")
  7. )
  8.  
  9. # Change path to where yourPsExec is located.
  10. C:\Sysinternals\PsExec64.exe \\$Computer msiexec.exe /x $GUID /quiet /norestart
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement