Learn essential PowerShell skills in this comprehensive 7-8 hour course covering scripting basics and practical applications. Begin with an overview and setup, including execution policy configuration and VSCode integration. Master fundamental concepts like variables, arrays, and hash tables. Explore various operators and control structures such as if, switch, foreach, for, do, and while statements. Apply your knowledge to real-world scenarios by creating scripts to prompt for input, archive files by date, and compare hash values. Gain proficiency in finding and using commands, leveraging PowerShell profiles, and effectively utilizing the help system to enhance your scripting capabilities.
Overview
Syllabus
- Overview
-
- Getting Started With PowerShell
- Setting The Execution Policy
- Finding And Using Commands
- Getting Help
- Using VSCode
- PowerShell Profiles
- Variables
- SCRIPTING BASICS
- Arrays
- Hash Tables
- Arithmetic Operators
- Assignment Operators
- Comparison Operators - Equality
- Comparison Operators - Matching
- Comparison Operators - Containment
- Comparison Operators - Type And Replacement
- Logical Operators
- "If" Statements
- "Switch" Statements
- "Foreach" Statements
- "For" Statements
- "Do" Statements
- "While" Statements
- PRACTICAL SCRIPTING
- Prompt For Input
- Archive Files By Date
- Comparing Hash Values