---
title: "Powershell"
topic: "Methodology and Resources"
topicSlug: "methodology-and-resources"
sourcePath: "Methodology and Resources/Powershell - Cheatsheet.md"
sourceUrl: "https://github.com/swisskyrepo/PayloadsAllTheThings/blob/3ac27901c711/Methodology%20and%20Resources/Powershell%20-%20Cheatsheet.md"
sha: "3ac27901c711"
isReadme: false
---
# Powershell
:warning: Content of this page has been moved to [InternalAllTheThings/cheatsheets/powershell](/internal/cheatsheets/powershell-cheatsheet)
- [Execution Policy](/internal/cheatsheets/powershell-cheatsheet#execution-policy)
- [Encoded Commands](/internal/cheatsheets/powershell-cheatsheet#encoded-commands)
- [Constrained Mode](/internal/cheatsheets/powershell-cheatsheet#constrained-mode)
- [Encoded Commands](/internal/cheatsheets/powershell-cheatsheet#encoded-commands)
- [Download file](/internal/cheatsheets/powershell-cheatsheet#download-file)
- [Load Powershell scripts](/internal/cheatsheets/powershell-cheatsheet#load-powershell-scripts)
- [Load C# assembly reflectively](/internal/cheatsheets/powershell-cheatsheet#load-c-assembly-reflectively)
- [Call Win API using delegate functions with Reflection](/internal/cheatsheets/powershell-cheatsheet#call-win-api-using-delegate-functions-with-reflection)
- [Resolve address functions](/internal/cheatsheets/powershell-cheatsheet#resolve-address-functions)
- [DelegateType Reflection](/internal/cheatsheets/powershell-cheatsheet#delegatetype-reflection)
- [Example with a simple shellcode runner](/internal/cheatsheets/powershell-cheatsheet#example-with-a-simple-shellcode-runner)
- [Secure String to Plaintext](/internal/cheatsheets/powershell-cheatsheet#secure-string-to-plaintext)
- [References](/internal/cheatsheets/powershell-cheatsheet#references)