Chapter 6

Manipulating Windows with PowerShell


This chapter delves deeper into the capabilities of PowerShell, which can be very handy in certain penetration testing situations. PowerShell has access to all the functionalities of .NET and can give us capabilities that we might not otherwise have in such an environment without needing to upload tools to the system. We go over execution policies, taking control of the processes on the system, interfacing with the event logs, tweaking the Registry, and more, all through the tools provided by the operating system.


Powershell; penetration testing; .NET; execution policies; processes; registry

Information in This Chapter

• Dealing With Execution Policies in PowerShell

• Penetration ...

Get Coding for Penetration Testers, 2nd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.