-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convert SwisSnapin.dll to a PowerShell module #2
Comments
So which way do you want to go with this module? Do you want to create it with C# or use PowerShell? If you want to use PS, PowerOrion looks like a good place to start. |
My plan was to do this in C#, mostly reusing code from the existing snapin. This module would provide the basic functionality - connecting, query, invoke, create, update, delete - that PowerOrion leverages to build higher-level commands. We could then update PowerOrion to use the SWIS PowerShell module instead of SwisSnapin. Then the whole set would be xcopy-deployable. |
Not just xcopy I would like to seeit on powershellgalary.com and have it deployed via install-module. |
I vote for this too, it would be nice to have something what is not part of Orion SDK and is deployable as standalone package. OrionSDK is awesome for writing SWQL queries. Once the query is written I dont need SWQL studio anymore and it would be nice to have possibility to install PowerOrion module and run query I need. |
And it would be nice to have possibility to install it using chocolatey in the same way as OrionSDK |
This is especially important in light of PSSnapIns being deprecated in PowerShell Core. |
* The current snapin dll is usable as a PowerShell module if you provide the .psd1 file * The current snapin dll is usable as a PowerShell module if you provide the .psd1 file * Make SwisPowerShell output to its own directory for separate dependencies * Updates to build a powershell module * Fix SwisPowerShell.dll path for signing
The module is now available on PowerShell Gallery as SwisPowerShell. |
http://blog.codeinside.eu/2013/03/08/powershell-snapins-vs-modules
The text was updated successfully, but these errors were encountered: