PowerShell & .NET: Seamless Integration

One of PowerShell’s most powerful and defining features is that it is built directly on the .NET runtime. This isn’t just a superficial connection; PowerShell’s engine, its cmdlets, and the data that flows through its pipeline are all .NET objects. This deep integration gives PowerShell a “superpower”: the ability to directly and seamlessly access the vast ecosystem of .NET classes and methods. This guide will walk you through how this relationship works and how you can leverage .NET to write incredibly powerful and flexible scripts, turning PowerShell into a full-fledged .NET scripting language. ...

October 27, 2025 · The PwshTips Team

What is pwsh? Modern PowerShell Explained

If you’ve worked with PowerShell, you’re likely familiar with powershell.exe. But in recent years, a new executable has emerged: pwsh.exe. So, what is pwsh, and how is it different? In short, pwsh is the executable for modern, open-source, and cross-platform PowerShell (version 6 and newer). It represents a fundamental evolution of PowerShell, transforming it from a Windows-only tool into a powerful automation language for any platform. This guide will explore the history of pwsh, its key features, and why you should be using it for all your new scripting and automation projects. ...

October 13, 2025 · The PwshTips Team