On ma, 29 loka 2018, Lucas Cueff via FreeIPA-users wrote:
Hello FreeIPA world,
First thanks for this great product, I was looking for an Active
Directory 'clone' for the opensource world and I have successfully
tested and deployed a FreeIPA infra, thanks to your great job guys !
Because I am also a Windows admin sys working from Windows platform, I
wanted to keep PowerShell as my main shell and script platform. I have
started to port the Python cli in a Powershell module.
For the Powershell user, my work is available at :
https://github.com/MS-LUF/Manage-FreeIPA Thanks, Lucas!
One short comment: since FreeIPA API fully dynamic, it makes sense to
have a client side also dynamically generating the bindings. Is it
possible to achieve that with PowerShell?
I saw too many bindings already that try to hard-code the API calls and options
to them. It doesn't really work in a longer run.
Some of a better bindings provide an auto-generation at a compile (or
packaging) time. They retrieve the metadata from IPA server version they
support and then generate actual bindings. That would work too -- as
long as you don't need to manually update/write code to support specific
calls.
--
/ Alexander Bokovoy
Sr. Principal Software Engineer
Security / Identity Management Engineering
Red Hat Limited, Finland