Tag: PSCmdlet

Basics of Writing a PowerShell Module with C#, Part 2: Debugging

In this second part of the series on writing PowerShell modules in C#, we will cover how to enable basic…

Read More

Writing a PowerShell module in C#, Part 1: The basics

In this series we will cover the basics of building a Windows PowerShell binary module using C#. In the first…

Read More

Custom errors

Custom Management.Automation.ErrorRecord objects are not very common, but if you ever want to provide the user better details about an error, you can create and report your own.

Read More