08-22-2016 11:41 AM
Hey all, I've been working on a powershell module for infoblox utilizing the new class definition features in powershell 5.0. So far it's been working pretty well, have functions for get/set/add/remove dns records and fixed addresses. Supports adding/updating/removing extensible attributes on records, as well as searching based on most available properties (search by view, comment, name, EA, etc.).
Github repo is here: https://github.com/murrahjm/Infoblox-Classy
Would love some feedback and suggestions for features, though there are a million things in the API that I haven't even touched yet. I've got a ways to go to get to some of the features I want personally, so I plan to maintain it for a while I think.
10-05-2016 08:15 AM
Love this, since one of the things I want to hand off to someone else is changing CNAMEs during specific machine downtimes. Let the NOC handle it without the GUI. ;-)
I notice there is also:
another one on github.
Maybe someone at Infoblox will notice and get behind these projects.
10-05-2016 09:32 AM
I had done some initial work but gave up on it for a while. I recently revisited it with some additions but had not done any work to put it into a class. I really like that approach and it's likely something I can learn from. I don't usually have much time but I may fork your project and offer some assistance if you're okay with it.
Here's what I had started (and then completely gutted and restarted).
10-11-2016 11:33 AM
There is no obvious error handling in the methods, and each object type makes its own call to 'Invoke-RestMethod'.
You should really subclass 'Invoke-RestMethod' to have built in error handling so that all your object calls can leverage this one base class.
adding '_return_as_object=1' to the query string will also make this erro handling and general processing of the JSON response easier.
10-05-2018 09:47 AM
i am new to this infoblox, but i need to update multple entries, hence i am trying it using powershell.
but i am not able to find the API for my configuration.
how to use this script?
can you please help me on this?
10-05-2018 01:05 PM
To avoid confusion and make sure that your post is not overlooked, it would be helpful to start a new thread for new requests and when doing so, include more details about what exactly you are trying to update. If you are only concerned about updating multiple entries of some type, you can take advantage of the CSV Import feature and this is documented in the Infoblox CSV Import Reference Guide, and NIOS Administrator Guide.