Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 1.68 KB

File metadata and controls

39 lines (28 loc) · 1.68 KB

3.1 PowerShell

⚡ Prerequisites

  • Basic Network and Cybersecurity Concepts
  • Basic OS Concept

📕 Learning Objectives

  • Understand PowerShell
  • Perform PowerShell commands

What is PowerShell?

PowerShell is a powerful tool from Microsoft that combines three functionalities:

  • Command-line shell: It provides an alternative way to interact with your computer using commands instead of a graphical interface.
  • Scripting language: It allows you to automate tasks by writing scripts that perform specific actions, saving you time and effort.
  • Configuration management framework: It helps you manage the configuration of your systems and applications, ensuring consistency and efficiency across your environment.

Key points to remember:

  • Cross-platform: While originally designed for Windows, PowerShell is now available and functional on macOS and Linux as well.
  • Task automation: Its primary strength lies in automating repetitive tasks, making it a valuable asset for system administrators, developers, and security professionals.
  • Flexibility: It offers a wide range of features and functionalities, making it adaptable to various use cases.

{% embed url="https://learn.microsoft.com/en-us/powershell/" %}

{% embed url="https://www.tutorialspoint.com/powershell/powershell_quick_guide.htm" %}

Tools:

# JAWS - Automatic Local Enumeration - Powershell
powershell.exe -ExecutionPolicy Bypass -File .\jaws-enum.ps1 -OutputFilename Jaws-Enum.txt​