Browse › Getting Started with PowerShell

Use Variables and Arrays in Windows PowerShell
Part of Getting Started with PowerShell Topic: General Cyber Security
Access
StationX Infrastructure Labs — 3 attempts per lab
🔒 Add StationX Infrastructure Labs — $149 / year · 3 attempts per lab
Already have access? Sign in.
New to this? Try a free practice lab — a scripted hacking challenge in your browser, no account needed.
What you'll do
In this lab, you will use variable and arrays.
- Manage an array of processes at the PowerShell console
- Manage an array of services with a script
- Use preference variables to support script debugging
Note: Once you begin the lab, you will not be able to pause, save, or return to your lab. Please ensure that you have set aside enough time to complete the lab before you start.
- ⏱ About 45 minutes
Roadmaps that use this lab
- Threat Hunter — career path — step 7: Script the hunt
