Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
PowerShell Scripting from scratch: Automate Like a Pro
Rating: 4.4 out of 5(544 ratings)
4,582 students

PowerShell Scripting from scratch: Automate Like a Pro

Master Windows PowerShell: Scripting, Automation and Azure management
Created byTechLab Guru
Last updated 7/2025
English
English [Auto],

What you'll learn

  • Understanding the Basics of PowerShell Scripting
  • Scripting Essentials: variables, data types, and operators for effective script development.
  • Working with Objects and Pipelines:
  • Control Flow and Script Logic
  • Functions and Modules
  • Error Handling and Debugging
  • Automating Windows Administration
  • Azure Automation

Course content

8 sections34 lectures4h 57m total length
  • Introduction to PowerShell1:53

    Discover how PowerShell automates tasks with scripts and commands like get service and get process, and learn Windows PowerShell 5.1 versus PowerShell core 6.0 on Windows, Mac, and Linux.

  • How to interact with Windows PowerShell3:20

    Interact with Windows PowerShell via the console for one-liners and the ISE for full scripts, and compare Windows PowerShell 5.1 with PowerShell core 7, including version checks with $PSVersionTable.

  • Windows PowerShell and PowerShell - Executable1:38

    Launch Windows PowerShell and PowerShell Core from their executables (powershell.exe and pwsh.exe), and verify versions with the PS version table to use the appropriate console.

  • PowerShell - Cmdlet Structure7:04

    Master the verb-noun structure of PowerShell cmdlets and how parameters begin with a dash. Learn about mandatory versus optional parameters, switches like -recurse, and examples such as get-service and get-childitem.

  • PowerShell tab completion & Get-help2:48

    Master get-help to inspect parameters and examples for PowerShell cmdlets, and use tab completion to auto-complete commands. Learn to filter services with wildcards and start-with patterns to fast-track exploration.

  • PowerShell Data Types4:19

    Learn how PowerShell treats every value as an object and how to determine its data type using the get type method. Explore integers, strings, doubles, and other data types.

  • Important link0:11
  • How to access characters of a string2:31

    Learn to access characters in a string with PowerShell by indexing using square brackets, starting at zero, and combine characters to form strings in practical server name examples.

  • Conditional Statement in PowerShell4:54

    Explore conditional statements in PowerShell, using if, elseif, and else to determine outcomes. Demonstrates writing scripts in PowerShell ISE, using templates, and comparing values with operators and write-host outputs.

  • foreach Loop in PowerShell3:59

    Master how to use the for-each loop in PowerShell to filter text data, load server names from a file, iterate over an array, and extract Miami servers starting with M.

  • Demo - foreach Loop in PowerShell4:25

    Demonstrates a foreach loop in PowerShell that reads server names from a text file, filters for names starting with m, and appends Miami servers to a new file.

  • Use case - Foreach Loop4:54

    Create Active Directory users from a text file using a foreach loop in PowerShell, filtering names that start with a, and log results to report.txt.

  • Measure-command : Measures the time it takes to run script blocks and cmdlets.1:30

    Learn how measure-command measures the execution time of script blocks and cmdlets by wrapping your script in curly braces, and see a practical example.

  • PowerShell Quiz

Requirements

  • No Programming experience is needed

Description

Description

Unlock the full potential of Windows PowerShell with this comprehensive PowerShell automation course. Designed for system administrators, DevOps professionals, and IT students, this course will help you learn PowerShell scripting to automate day-to-day tasks, boost productivity, and manage Windows environments efficiently.

From basic scripting to advanced PowerShell automation in enterprise environments, we cover it all.

What You'll Learn:

  • PowerShell Basics – Get started with the PowerShell command-line interface, syntax, aliases, pipelines, and help system.

  • Scripting with PowerShell – Build robust PowerShell scripts using variables, loops, conditional statements, and functions.

  • Automate Admin Tasks – Perform user and computer account management, automate software installations, and control services.

  • Advanced PowerShell Functions – Create reusable code using advanced functions, modules, and script blocks.

  • File & Folder Automation – Automate copying, archiving, renaming, and modifying files and folders.

  • Scheduled Tasks with PowerShell – Learn to schedule and manage recurring jobs using Task Scheduler and ScheduledJob cmdlets.

  • PowerShell for System Administration – Use PowerShell to manage Windows updates, services, processes, registries, firewall rules, and more.

  • Remoting and Security – Enable PowerShell Remoting (WinRM), use Invoke-Command, secure your scripts, and follow best practices.

  • PowerShell and Active Directory – Automate AD account creation, group management, and reporting using ActiveDirectory module.

  • PowerShell for DevOps and Cloud – Introduction to PowerShell with Azure, PowerShell DSC, and infrastructure automation concepts.

Who this course is for:

  • system administrators
  • Azure Architect
  • IT Administrator
  • Software Engineer
  • Project Managers
  • Infrastructure Specialist
  • PowerShell Developer
  • Windows server Engineer