I\'m trying to write a PowerShell module as a VB.NET project with Visual Studio 2015. I\'ve been able to put a few commands together, compile the class library into a DLL, impo
It's possible to debug your cmdlet directly without needing a separate project. Open the properties of your class library project and configure the Debug
tab as follows (assuming Windows is installed to C:
):
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
-NoLogo -Command "Import-Module '.\MyModule.dll'; Get-TestCommand;"