Alexis La Goutte
8167b0dbf0
Fix PSSA Warning ( #20 )
...
* Fix trailing white space
using Invoke-ScriptAnalyzer -Fix -Path . -Recurse
* add settings.json for configure Visual Code (Formatter)
* PSSA: Fix Command accepts pipeline input but has not defined a process block
* PSSA: Fix PSUseDeclaredVarsMoreThanAssignments
The variable 'I_B' is assigned but never used
The variable 'I_A' is assigned but never used
* PSSA: Fix PSUseShouldProcessForStateChangingFunctions
Function New-/Set-... has verb that could change system state. Therefore, the function has to support 'ShouldProcess'
2021-07-23 16:06:42 -04:00
Ben Claussen
68161a78b0
Remove API Definition caching and replace with Netbox version check
2021-07-22 11:52:57 -04:00
Ben Claussen
17c4d9d779
Add Get-NetboxVersion function
2021-07-22 11:52:08 -04:00
Ben Claussen
ea9f6c41bc
Trim whitespaces
2021-07-22 11:39:39 -04:00
Ben Claussen
22607fde48
Add TimeoutSeconds parameter and logic to Connect-NetboxAPI
...
- Updated `InvokeNetboxRequest` to use `NetboxConfig.Timeout`
- Updated `Get-NetboxAPIDefinition` to use `NetboxConfig.Timeout`
2021-07-22 11:06:13 -04:00
Ben Claussen
218114d8fe
Add Get/Set timeout functions
2021-07-22 10:49:19 -04:00
Ben Claussen
06d758d7b3
Correct brace formatting
2021-07-22 10:28:22 -04:00
Ben Claussen
989c5eaac2
Correct typo
2021-07-22 10:27:58 -04:00
Alexis La Goutte
4800cc6564
Connect: Add SkipCertificateCheck parameter (for PS5 and Core)
...
Also enable TLS 1.1 and 1.2 for PS5
2021-07-21 23:08:11 +02:00
Alexis La Goutte
254a2798ac
Add Get/Set netboxInvokeParms for Get and Set Invoke Params (array)
...
Like -SkipCertificate, Timeout...
2021-07-21 23:06:17 +02:00
Alexis La Goutte
c8233ab572
Add Set-NetboxUnstrustedSSL for disable SSL chain test (for PS 5.0
...
From PowerAruba/FortiPwoer Module :)
2021-07-21 23:06:17 +02:00
Alexis La Goutte
c8c6d48ee4
Add Set-netboxCipherSSL for enable TLS1.1 and TLS1.2 (for PS 5.0)
...
From PowerAruba/FortiPower Module :)
2021-07-21 23:06:17 +02:00
Alexis La Goutte
4ad0562466
Support(Setup): Fix indent (using Visual Code Formatter)
2021-07-21 23:06:17 +02:00
Alexis La Goutte
5b1ee45769
Setup(Functions): Fix indent (using Visual Code Formatter)
2021-07-21 23:06:17 +02:00
Alexis La Goutte
b164ffe0b4
Connect(Setup): Fix indent (using Visual code Formatter)
2021-07-21 23:06:17 +02:00
Ben Claussen
5921bfee57
Update help
2021-03-31 10:23:45 -04:00
Ben Claussen
cd6dad5937
Add logic and functions to connect via HTTP instead of HTTPS
2021-03-31 10:06:41 -04:00
Ben Claussen
b36632cb9a
SkipConnectedCheck for Get-NetboxAPIDefinition
2020-10-02 10:37:52 -04:00
Ben Claussen
657a8405bc
Remove parameter validation as workaround for CHOICES API endpoint until further testing
2020-05-04 12:39:00 -04:00
Ben Claussen
d6b4e69f69
File restructuring
2020-04-09 09:57:20 -04:00