Start free

Browse › Getting Started with PowerShell

Use Arrays in Windows PowerShell

Guided

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.

  1. Create an array that contains the names of your servers
  2. Query the values in the array, and then make changes to the contents of the array
  3. 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