PowerShell & Windows Automation

How to Display Environment Variables

Terminal showing commands and output for displaying environment variables: 'env', 'printenv', and 'set' examples, highlighted key variables like PATH HOME, USER, custom variables.

How to Use ForEach-Object

ForEach-Object Guide When working with collections of data in PowerShell,

How to Create Log Files from Scripts

Developer writing scripts that generate timestamped log files into a logs folder; terminal shows success (green) and error (red) messages, file rotation, and archived logs. daily.

How to Backup Registry Keys Using PowerShell

PowerShell window showing commands exporting Windows Registry keys to reg files, selecting hives and using Export-RegistryKey or reg.exe with timestamped filenames for auto backup.

What Is the Registry in Windows?

Understanding the Heart of Windows: What You Need to Know

How to Remove a PowerShell Module

Illustration showing how to remove a PowerShell module: open elevated PowerShell, run Uninstall-Module <ModuleName>, confirm removal, verify with Get-Module -ListAvailable. Now OK.

How to Install a PowerShell Module

Diagram showing how to install PowerShell module: open PowerShell as admin, run Install-Module ModuleName, trust repo, safely run Import-Module ModuleName, confirm with Get-Module.

How to Schedule a PowerShell Script

Graphic showing how to schedule a PowerShell script: save .ps1, open Task Scheduler, create task, set trigger and action, adjust conditions and settings, run test, check event logs

How to Unzip Files Using PowerShell

PowerShell window displaying the Expand-Archive command: Expand-Archive -Path C:\Archives\example.zip -DestinationPath C:\Extracted and resulting folder icons for extracted files.!

How to Zip Files Using PowerShell

Screenshot of PowerShell window showing Compress-Archive command compressing multiple files into a ZIP, with command syntax, source paths, destination ZIP file and progress output.