
Learn how wearables serve as temporary storage for objects in Windows PowerShell, and outline their usage rules, including creation, management, and basic calculations.
Define valid PowerShell variable names, favoring letters and numbers; use underscores only when necessary, and curly braces to include spaces while the dollar sign prefixes access.
Assign objects to variables with the equals operator in PowerShell, work with arrays and objects, access members via dot notation, and use -is and -as for type checks and conversions.
Master PowerShell math operators—plus, minus, multiply, and divide—using parentheses to control evaluation. Discover how quotes trigger or suppress variable expansion, how sub expressions work, and grave accents.
Explore Windows PowerShell security goals, execution policy, and trust in script security, and learn to configure shell security features as part of defense in depth to protect against script-based attacks.
Explore PowerShell execution policy as a security feature, default restricted, and how to view and set policies at local, group policy, or session level, including code signing requirements.
Explore how trust and code signing certify script authors, verify identities, and ensure script authenticity in Windows PowerShell, with execution policies, extensions, and path resolution tips.
Explore Windows Management Instrumentation and the Common Information Model, comparing WMI and CIM standards and how PowerShell connects to them locally and remotely.
Learn to parameterize changing values in PowerShell scripts, test commands individually, and build a robust script that retrieves the 50 most recent security event logs from a designated computer.
Write verbose comment-based help for Windows PowerShell scripts by embedding a command-based help block with synopsis, description, parameters, and examples, and enable verbose output for runtime status messages.
Transform a Windows PowerShell command into a reusable script by adding a parameter block, mandatory computer name, drive time and drive type defaults, plus verbose output and command-based help.
This lab lecture provides answers for lab exercises, demonstrating PowerShell scripting with Get-Disk, including execution policy, computer name and drive type parameters, verbose output, and header comments.
Wrap a PowerShell script in a function to create a script module, then share it via a file server so colleagues load modules through the module path.
You already run PowerShell commands, and this short course turns them into scripts you can reuse. You learn the rules scripts need, the security that protects you, and then take one command all the way to a function.
What the lectures cover
Besides the main topics, you also work through: Understand the security goals of PowerShell; Parameterise the values that change in a command; Turn a command into a script in a lab, then compare it with the answers; Get an introduction to WMI and CIM.
How the course works
The course follows the path from a single command to a reusable tool. First you learn the rules for variables and operators, then the security that decides whether a script may run, then you turn a changing value into a parameter. A lab with answers lets you practise the whole path yourself.
Inside the course
The course is organised into these sections: Preparing for Scripting; Moving from Command to Script; Moving from Script to Function to Module. Lectures you will find include: Math Operators and Quotation Marks.
The course runs about 1.2 hours in 14 lectures. It is a focused, short bridge from commands to scripts. It does not cover advanced scripting, error handling or building complete modules. Once you finish, you can take on a longer scripting course with a solid foundation.