Learn PowerShell
Automate everyday IT work with PowerShell. Run cmdlets and scripts, store data in variables, work with objects, arrays and hashtables, make decisions and loops, and package your work into reusable functions.
- Beginner level
- 5 modules
- 40 lessons
- 175 tasks and questions
Syllabus
01Getting StartedMeet PowerShell, run your first cmdlets, find help on your own, move around the file system and write your first script.7 lessons
02Variables and OperatorsStore values in variables, learn PowerShell's data types and environment variables, then calculate, update and compare values with arithmetic, assignment, comparison and logical operators.8 lessons
03Objects and ArraysDiscover that PowerShell passes objects, not plain text. Read properties, call methods, build your own objects and hashtables, store lists in arrays, and filter, sort and measure collections in the pipeline.10 lessons
- 01Objects, Properties and Methods
- 02Methods on Text and Numbers
- 03Building Your Own Objects
- 04Objects With Their Own Methods
- 05Key-Value Data with Hashtables
- 06Lists of Values with Arrays
- 07Operators for Arrays
- 08Filtering, Sorting and Measuring Objects
- 09Project: Laptop Inventory Audit
- 10Objects and Arrays Quiz
04Control FlowLet scripts make decisions with if, elseif, else and switch, and repeat work with for, foreach, while and do loops. Then steer loops with break and continue.8 lessons
05FunctionsPackage your work into reusable functions. Name them like cmdlets, accept parameters with types and defaults, add switches, return output correctly and keep variables in the right scope.7 lessons