1200 XP
Introduction to scripting in PowerShell
This module introduces you to scripting with PowerShell. It introduces various concepts to help you create script files and make them as robust as possible.
Learning objectives
- Understand how to write and run scripts.
- Use variables and parameters to make your scripts flexible.
- Apply flow-control logic to make intelligent decisions.
- Add robustness to your scripts by adding error management.
Start
Add
Prerequisites
- Basic familiarity with using a command-line shell like Command Prompt or Git Bash
- Visual Studio Code
- Ability to install Visual Studio Code extensions
- Ability to install software on your computer, if you're not using a Windows operating system
- Familiarity with running commands in PowerShell
This module is part of these learning paths
Module assessment
Assess your understanding of this module. Sign in and answer all questions correctly to earn a pass designation on your profile.
Take the module assessment