Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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..

Regards Arun

like image 294
Arun Avatar asked Mar 02 '23 03:03

Arun


1 Answers

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.

like image 55
Stephen Harrison Avatar answered Mar 07 '23 22:03

Stephen Harrison