Sharing is caring - Create a Powershell Script from a Powershell Connector XML

Dear Community,

as i worked heavily on Powershell Connectors in the past month I have started to built an eco-system on small helpers and tools around it.

While not everything is sharable at the moment, I want to make the beginning with a small script.

Imagine the following situation:

You have a Powershell Connector Definition XML which contains some/many/all calls which are used for the connector instead of a separate Powershell Module. Now you need to do some extensions or want to debug.

My little helper script can export all the custom commands so you can re-use them for testing, enhancing, etc.

https://github.com/MagnusID/FreeTools/blob/main/CreatePSScriptFromConnectorXML.ps1

If I find time I might add some functionality around creating unit tests or writing it back to the XML once you are done with your changes.