Browse › Getting Started with PowerShell

Use 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 automate the management of a large number of servers by using scripts.
- Create an array that contains the names of your servers
- Query the values in the array, and then make changes to the contents of the array
- Run commands to perform actions using the values in the array
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
