From the course: CompTIA PenTest+ (PT0-003) Cert Prep
Unlock this course with a free trial
Join today to access over 25,300 courses taught by industry experts.
PowerShell scripting basics
From the course: CompTIA PenTest+ (PT0-003) Cert Prep
PowerShell scripting basics
- The next scripting environment we're going to explore is called PowerShell. It used to be Windows PowerShell, and up until 2016, it was actually a Windows only product. But as of 2016, Microsoft rereleased it as open source cross platform. So now it's just PowerShell and you can actually get it in macOS and Linux. You'll likely see it most of the time still just in Windows, but it is available for any environment. We're gonna focus on the Windows implementation of PowerShell. There's just a very few things that you need to be aware of to set it up and to run PowerShell scripts, but the rest of the contents and the concepts are really the same as any other scripting environment. So let's take a look at at how to launch PowerShell and how to edit a PowerShell script. So the first thing you'll do on a new installation of Windows is allow PowerShell scripts to execute. By default, they're not allowed. They're…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
-
-
-
-
-
(Locked)
Using scripting in pen testing12m 28s
-
(Locked)
Bash scripting basics14m 50s
-
(Locked)
Bash scripting techniques10m 3s
-
(Locked)
PowerShell scripting basics3m 59s
-
(Locked)
Ruby scripts6m 25s
-
(Locked)
Python scripts5m 42s
-
(Locked)
Scripting languages comparison10m 46s
-
(Locked)
Data structures, part 17m 33s
-
(Locked)
Data structures, part 28m 6s
-
(Locked)
Libraries2m 53s
-
(Locked)
Classes7m 57s
-
(Locked)
Procedures and functions5m 41s
-
(Locked)
Perl and JavaScript5m 35s
-
(Locked)
Breach and attack simulation1m 46s
-
(Locked)
-