Advertisement
vinissh

globalprotect_remove

Jun 12th, 2020
1,663
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.31 KB | None | 0 0
  1. @echo off
  2.  
  3. wmic wmic product get name,version  | find /i "global" cls
  4. if %errorlevel% equ 0 ( goto desinstall) else ( echo "globalprotect nao localizado")
  5.  
  6. :desinstall
  7. for /F %%i in ('wmic product get name^,version ^| find ^/i "global"') do wmic product where name="%%i" call uninstall
  8. exit
  9. pause >null
  10. del null
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement