how to create a cmdlet?


I have written my program in c# .net. I want to convert it in to a powershell cmdlet. I was instructed to use pssnapin and getproc programs. Can anyone plz help me out..



To create a PowerShell cmdlet I would recommend you read Easy Windows PowerShell cmdlet development and debugging by Bart De Smet (B#) it’s a great walk through for creating and debugging cmdlet’s (Does what it says on the tin!)

Also I’ve found Professional Windows PowerShell Programming, ISBN 978-0470173930, (ISBN-10) 0470173939 very good for creating cmdlets and providers.


how to create a cmdlet? by licensed under CC BY-SA | With most appropriate answer!

Leave a Reply