Contact

Contact PowerShell FAQs

Found a script that doesn’t work, a step that’s out of date, or a PowerShell topic you’d like covered? Email Bijay Kumar directly. Every message is read.

Your email goes to Bijay Kumar, founder of PowerShellFAQs.com and a 13-time Microsoft MVP.

Reporting a script problem?Copy this template
Tutorial link: https://powershellfaqs.com/...

What I expected:

What happened (paste the full error message):

PowerShell version ($PSVersionTable.PSVersion):

Operating system:
Open in my email app

Get a faster fix

What to Include When a Script Doesn’t Work

Most PowerShell problems depend on the version, the operating system and the exact error text. With these four details, a problem can usually be reproduced and fixed without back-and-forth emails.

  1. The tutorial linkCopy the address of the page you were following.
  2. The full error messagePaste the red text exactly as PowerShell shows it, not a summary.
  3. Your PowerShell versionRun the command below. 5.1 is Windows PowerShell, 7.x is PowerShell 7.
  4. Your operating systemFor example Windows 11, Windows Server 2022 or macOS.
Your PowerShell version
$PSVersionTable.PSVersion
Your Windows version
(Get-CimInstance Win32_OperatingSystem).Caption
The full text of the last error
$Error[0] | Format-List * -Force

Before you paste output into an email, remove anything private, such as passwords, API keys, server names or internal file paths.

Before you write

Quick Fixes for the Most Common PowerShell Errors

Many PowerShell problems have a known fix. Check these common errors first: the answer may be one click away.

New to PowerShell? Start here