Use PowerShell listings from Windows Security Internals with PowerShell
mainThis repository contains PowerShell scripts corresponding to the chapters in the book Windows Security Internals with PowerShell by No Starch Press.
To use the code provided:
- Locate the consolidated script for a specific chapter, named
chapter_X_listings.ps1(whereXis the chapter number). - Do not execute the entire script at once.
- Instead, copy individual code listings from the script and run them one by one in a PowerShell console.
- For certain chapters, you may need to run PowerShell as an Administrator to ensure the scripts have the necessary permissions to interact with Windows security internals.
# Example of how to use the listings:
# 1. Open chapter_1_listings.ps1
# 2. Copy a specific block of code
# 3. Paste and run in PowerShell console