By Paul Jorgensen
Powershell includes the capability for direct access to .NET and C# can be
directly integrated. In this project, a custom C# control is created and
accessed directly from powershell to enhance the functionality of the
New-PSDrive cmdlet. Once the control is created with the appropriate
sub-controls, it can be accessed from powershell via the namespace and classname
(see the included powershell script for accessing the control). This is a simple
example of creating a control and accessing it from powershell.