Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $Click = Get-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\uninstall\*' -ErrorAction SilentlyContinue | Where-Object {((Get-ItemProperty -Path $_.PsPath) -match 'HP Sure Click')}
- $ClickCode = $Click.modifypath | Out-String
- $ClickRemove = $Clickcode.substring(14).Trim()
- Start-process msiexec.exe -argumentlist /x, $ClickRemove, /quiet -wait
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement