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