Powershell module for Netbox
Find a file
Ben Claussen 739f5e98e2
Version 1.4 (#14)
* Connect(Setup): Fix indent (using Visual code Formatter)

* Setup(Functions): Fix indent (using Visual Code Formatter)

* Support(Setup): Fix indent (using Visual Code Formatter)

* InvokeNetboxRequest(Helpers): Fix indent (using Visual Code Formatter)

* Add Set-netboxCipherSSL for enable TLS1.1 and TLS1.2 (for PS 5.0)

From PowerAruba/FortiPower Module :)

* Add Set-NetboxUnstrustedSSL for disable SSL chain test (for PS 5.0

From PowerAruba/FortiPwoer Module :)

* Add Get/Set netboxInvokeParms for Get and Set Invoke Params (array)

Like -SkipCertificate, Timeout...

* InvokeNetboxRequest: Add to Splat NetboxInvokeParams

* Connect: Add SkipCertificateCheck parameter (for PS5 and Core)

Also enable TLS 1.1 and 1.2 for PS5

* PSSA: Add Github Actions for launch PSSA (PowerShell Script Analyzer) when launch PR (#11)

Add also vscode/PSScriptAnalyzerSettings.psd1 for Settings for PSSA (can be reuse also for vscode...)

* Update psproj

* Correct typo

* Correct brace formatting

* Add Get/Set timeout functions

* Add Get/Set timeout functions

* Add TimeoutSeconds parameter and logic to Connect-NetboxAPI
- Updated `InvokeNetboxRequest` to use `NetboxConfig.Timeout`
- Updated `Get-NetboxAPIDefinition` to use `NetboxConfig.Timeout`

* Trim whitespaces

* Add Get-NetboxVersion function

* Remove API Definition caching and replace with Netbox version check

* Increment version to 1.4

Co-authored-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Co-authored-by: Ben Claussen <claussen@neonet.org>
2021-07-22 12:00:12 -04:00
.github/workflows Version 1.4 (#14) 2021-07-22 12:00:12 -04:00
.vscode Version 1.4 (#14) 2021-07-22 12:00:12 -04:00
Functions Version 1.4 (#14) 2021-07-22 12:00:12 -04:00
NetboxPS Version 1.4 (#14) 2021-07-22 12:00:12 -04:00
Postman Version 1.3.0 (#3) 2021-03-25 16:52:08 -04:00
Tests Begin writing tests 2019-12-10 15:10:02 -05:00
.gitignore Add deploy.ps1 for PSS deploy workaround 2020-04-09 09:57:59 -04:00
_config.yml Set theme jekyll-theme-slate 2020-12-08 09:29:51 -05:00
deploy.ps1 Version 1.3.0 (#3) 2021-03-25 16:52:08 -04:00
LICENSE Add license 2018-05-18 12:19:15 -04:00
NetboxPS.psd1 Version 1.4 (#14) 2021-07-22 12:00:12 -04:00
NetboxPS.psm1 Version 1.3.0 (#3) 2021-03-25 16:52:08 -04:00
NetboxPS.psproj Version 1.4 (#14) 2021-07-22 12:00:12 -04:00
NetboxPS.psproj.bak Project file updates 2018-10-18 12:56:18 -04:00
README.md Update readme (#5) 2021-03-30 10:34:51 -04:00

NetboxPS

Powershell Netbox API module

Disclaimer

This module is beta. Use it at your own risk. I have only added functions as I have needed them, so not everything is available.

Description

This module is a wrapper for the Netbox API.

Usage

  1. Install module from the netboxPS folder
  2. Import module
  3. Connect to an API endpoint by using Connect-NetboxAPI -Hostname netbox.example.com