From 7925db838fe33760cca29cbb6b65e7f5d587511f Mon Sep 17 00:00:00 2001 From: Ben Claussen Date: Fri, 24 Feb 2023 12:13:24 -0500 Subject: [PATCH] Increment version to 1.7.1 --- NetboxPS.psd1 | 2 +- NetboxPS/NetboxPS.psd1 | 2 +- NetboxPS/NetboxPS.psm1 | 13 ++----------- 3 files changed, 4 insertions(+), 13 deletions(-) diff --git a/NetboxPS.psd1 b/NetboxPS.psd1 index 0a0240d..401b317 100644 --- a/NetboxPS.psd1 +++ b/NetboxPS.psd1 @@ -12,7 +12,7 @@ RootModule = 'NetboxPS.psm1' # Version number of this module. -ModuleVersion = '1.7.0' +ModuleVersion = '1.7.1' # Supported PSEditions # CompatiblePSEditions = @() diff --git a/NetboxPS/NetboxPS.psd1 b/NetboxPS/NetboxPS.psd1 index 0a0240d..401b317 100644 --- a/NetboxPS/NetboxPS.psd1 +++ b/NetboxPS/NetboxPS.psd1 @@ -12,7 +12,7 @@ RootModule = 'NetboxPS.psm1' # Version number of this module. -ModuleVersion = '1.7.0' +ModuleVersion = '1.7.1' # Supported PSEditions # CompatiblePSEditions = @() diff --git a/NetboxPS/NetboxPS.psm1 b/NetboxPS/NetboxPS.psm1 index 15c2b54..be43730 100644 --- a/NetboxPS/NetboxPS.psm1 +++ b/NetboxPS/NetboxPS.psm1 @@ -517,19 +517,10 @@ function Connect-NetboxAPI { Write-Verbose "Found compatible version [$($script:NetboxConfig.NetboxVersion.'netbox-version')]!" } - $script:NetboxConfig.ContentTypes = Get-NetboxContentType -Limit 500 - $script:NetboxConfig.Connected = $true Write-Verbose "Successfully connected!" - - #Write-Verbose "Caching static choices" - #$script:NetboxConfig.Choices.Circuits = Get-NetboxCircuitsChoices - #$script:NetboxConfig.Choices.DCIM = Get-NetboxDCIMChoices # Not completed yet - #$script:NetboxConfig.Choices.Extras = Get-NetboxExtrasChoices - #$script:NetboxConfig.Choices.IPAM = Get-NetboxIPAMChoices - ##$script:NetboxConfig.Choices.Secrets = Get-NetboxSecretsChoices # Not completed yet - ##$script:NetboxConfig.Choices.Tenancy = Get-NetboxTenancyChoices - #$script:NetboxConfig.Choices.Virtualization = Get-NetboxVirtualizationChoices + + $script:NetboxConfig.ContentTypes = Get-NetboxContentType -Limit 500 Write-Verbose "Connection process completed" }