PowerShell & Windows Automation

How to Export Data to CSV in PowerShell

PowerShell diagram showing data export to CSV: example commands (Select-Object | Export-CSV), pipeline flow, sample headers and rows, destination file path, and export confirmed v1.

What Is the Difference Between Write-Host and Write-Output?

Understanding how PowerShell communicates information is fundamental to writing effective

How to Create a New Folder Using PowerShell

PowerShell window displaying command: New-Item -Path 'C:\Users\User\Desktop' -Name 'NewFolder' -ItemType Directory and output confirming a new folder created on the Desktop. done..

How to Find a File Using PowerShell

PowerShell file search: terminal showing Get-ChildItem and Select-String commands, highlighted file path, magnifying glass over folder icon, and a list of matching search results..

How to Stop a Running Process in PowerShell

PowerShell window stopping a running process: shows GetProcess to list, Stop-Process -Force -Id 1234 or -Name notepad, confirm flags, tips for graceful termination and admin rights

What Does Get-Process Do?

Illustration showing PowerShell console listing running processes with columns like Handles, NPM(K), PM(K), WS(K), CPU, Id, ProcessName and an arrow pointing to Get-Process command.!

How to Restart a Service Using PowerShell

PowerShell example to restart a Windows service: run Stop-Service then Start-Service or use Restart-Service with admin rights, specifying the service name or its display name. now.

How to Get a List of Services in PowerShell

Screenshot of PowerShell window showing Get-Service command and output listing service names, statuses, and display names in a tabular layout, with command prompt visible. Examples

What Is a PowerShell Cmdlet?

Illustration of a PowerShell cmdlet: a terminal window showing 'Get-Help' and 'Get-Process', cog and lightning icons, modular cmdlets executing tasks in scripts and automation ops.

How to Check PowerShell Version

Illustration showing how to check PowerShell version: open PowerShell, run Get-Host or $PSVersionTable.PSVersion, or powershell -v, then read Major, Minor and Build numbers. PSCore