Software Version

View Categories

PowerShell CmdLet Creation

< 1 min read

Create a .NET Class library with a reference to the System.Management.Automation.dllover

Create a single class that inherits the System.Management.Automation.PSSnapIn class and example of this can be found below.

Create one or more classes that inherit the System.Management.Automation.PSCmdLet class for each cmdlet that is to be created an example of this can be found below.