PowerShell Module for NITRO (REST API) communication with Citrix NetScaler (Automation DevOps)
I have uploaded the latest version of my PowerShell Module code and the sample scripts used in the Citrix Synergy presentation to the Citrix_Synergy_2017 branch. I'm currently working on the NewModuleStructure branch to transform the Module file into a well structured Module to ensure it can be easier extended with new functions and used for collaborations.
As I am still learning PowerShell every day I will work on creating new PowerShell module (learning all about manifest files now) that will use separate script files for the different NetScaler features. This will allow me to more easily work on separate parts of the code and cmdlets and really dig into the NetScaler NITRO configurations.
So have fun with the code and I'm looking forward to any feedback and improvements for the code!
Cheers, Esther
P.S. For backwards compatibility with the original PowerShell NITRO Module, provided by Citrix through their blog, I've included the original disclaimer used for the scripts:
This software / sample code is provided to you βAS ISβ with no representations, warranties or conditions of any kind. You may use, modify and distribute it at your own risk. CITRIX DISCLAIMS ALL WARRANTIES WHATSOEVER, EXPRESS, IMPLIED, WRITTEN, ORAL OR STATUTORY, INCLUDING WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NONINFRINGEMENT. Without limiting the generality of the foregoing, you acknowledge and agree that (a) the software / sample code may exhibit errors, design flaws or other problems, possibly resulting in loss of data or damage to property; (b) it may not be possible to make the software / sample code fully functional; and (c) Citrix may, without notice or liability to you, cease to make available the current version and/or any future versions of the software / sample code. In no event should the software / code be used to support of ultra-hazardous activities, including but not limited to life support or blasting activities. NEITHER CITRIX NOR ITS AFFILIATES OR AGENTS WILL BE LIABLE, UNDER BREACH OF CONTRACT OR ANY OTHER THEORY OF LIABILITY, FOR ANY DAMAGES WHATSOEVER ARISING FROM USE OF THE SOFTWARE / SAMPLE CODE, INCLUDING WITHOUT LIMITATION DIRECT, SPECIAL, INCIDENTAL, PUNITIVE, CONSEQUENTIAL OR OTHER DAMAGES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. You agree to indemnify and defend Citrix against any and all claims arising from your use, modification or distribution of the code.