LOGO Mobile menu
Download SpyShelter

What’s pwsh.exe (PowerShell 7)? Is it safe or a virus?

The file "pwsh.exe" is the executable for PowerShell, a cross-platform command-line shell and scripting language developed by Microsoft. Unlike Windows PowerShell, which uses "powershell.exe" and is exclusive to Windows, "pwsh.exe" pertains to the latest more modern open-source version of PowerShell that operates across Windows, macOS, and Linux systems. This version offers enhanced features and broader compatibility, making it suitable for diverse environments.

The presence of pwsh.exe instead of powershell.exe indicates the use of PowerShell 7.x, the cross-platform version of PowerShell built on .NET Core. This version offers enhanced performance, new features, and is actively developed, whereas Windows PowerShell 5.1 (powershell.exe) is no longer receiving feature updates. The renaming to pwsh.exe allows both versions to coexist on the same system without conflict.

Windows users primarily utilize PowerShell for its robust capabilities in system administration and automation. It allows for efficient management of system configurations, user accounts, and processes. PowerShell's scripting language enables the automation of repetitive tasks, such as batch file processing and system monitoring. Its integration with the .NET framework and support for cmdlets provides a powerful toolset for managing both local and remote systems. Additionally, PowerShell's object-oriented approach and extensive command-line interface make it a preferred choice for advanced users seeking to streamline complex administrative tasks.

Researched by Carl @ SpyShelter Labs

Recently Detected Threats

A Trojan is a harmful software that pretends to be a legitimate program or file to deceive users into downloading it. It can steal personal information, damage files, or give hackers control over the infected device.

Download SpyShelter to see detailed safety information about every .exe on your PC.

Check your PC for threats

More about pwsh.exe on WINDOWS

Who makes pwsh.exe (PowerShell 7)?

We’ve found Microsoft Windows should be the publisher of pwsh.exe.

How do we know? Our SpyShelter cybersecurity labs focuses on monitoring different types of Windows PC executables and their behaviors for our popular SpyShelter Antispyware software. Learn more about us, and how our cybersecurity team studies Windows PC executables/processes.

What does it mean if someone is the publisher of a PC .exe (executable or process)?

The publisher of an executable is the entity responsible for its distribution and authenticity. Most processes/executables on your PC should be signed. The signature on the executable should have been verified through a third party whose job it is to make sure the entity is who it says it is. Find an unsigned executable? You should consider scanning any completely unsigned .exe on your PC.

Last updated: January 28, 2025

Curious about other processes on your PC?
Try SpyShelter or search below.

Or browse the process directory by name:

Why should you trust us?

Our team at SpyShelter has been studying Windows PC executables for over 15 years, to help fight against spyware, malware, and other threats. SpyShelter has been featured in publications like The Register, PC Magazine, and many others. Now we’re working to share free, actionable, and easy to understand information about Windows executables (processes) with the world, to help as many people as possible keep their devices safe. Learn more about us on our "About SpyShelter” page.

Have any questions? Please join our free public SpyShelter PC Security Forum and talk cybersecurity with our USA-based team. We love talking about PC Security and we’d like to get to know you.

Join our PC security forum →