c# - How to create a powershell extension for my app -
i'm developing platform , because has lot of configurations , parameters thought nice allow system administrator script tasks , stuff that, sharepoint does... , not that: since i'll 1 administrating quite time don't need (or have time build) gui, don't want keep running tsql scripts mad...
so question is: how do that? how tell powershell when enters get-myapptenants
should invoke dll , execute method retrivealltenants()
???
i recommend writing binary cmdlet since going use methods in seperate library. can write in c# can use skills have , supply powershell module application.
a startup guide can found here:
building binary powershell modules – part 1 – getting started
building binary powershell modules – part 2 – design principles , other guidelines
Comments
Post a Comment