Windows information gathering using Powershell: a brief cheatsheet

During a penetration test, once you get a local access to a target, you should start a local assessment of the machine in order to plan a correct tactic for privileges escalation and lateral movement. So, today l’d like to share my own cheatsheet of useful powershell commands. Basic System Information Start-Process "systeminfo" -NoNewWindow -Wait; […]