PowerShell

PowerShell Host IPC for any .NET application

Explore how PowerShell enables interprocess communication (IPC) using named pipes in .NET applications, allowing seamless remote control and API access. This hands-on guide walks through creating custom named pipes, using Enter-PSHostProcess for connection, and integrating PowerShell with your .NET projects to enhance flexibility and streamline automation workflows with real-world examples.

Marc-André Moreau published on
4 min, 678 words

Enable PowerShell WinRM Remoting in PowerShell 7

Enable PowerShell 7 WinRM remoting for efficient server management without relying on SSH. This post provides a straightforward method to incorporate PowerShell 7 into Windows environments, ensuring compatibility and simplifying remoting tasks with practical code snippets and configuration advice.

Marc-André Moreau published on
7 min, 1224 words

Debugging PowerShell Binary Modules in Visual Studio

Learn to create and debug PowerShell binary modules in Visual Studio, covering both local and remote debugging. This guide simplifies the development process for PowerShell modules, enhancing productivity with practical examples and troubleshooting tips for common issues.

Marc-André Moreau published on
12 min, 2353 words

PowerShell Remoting Trusted Hosts: What does it mean?

This guide demystifies the "TrustedHosts" setting in PowerShell remoting, explaining its significance and how to configure it to avoid common errors. It offers solutions for enabling remote connections, particularly when Kerberos or HTTPS isn't used, ensuring security and connectivity for non-domain-joined machines or across different domains.

Marc-André Moreau published on
7 min, 1271 words