From 11ae767a6c2dc9c9cc24da4ea6c42e5ab3cad72b Mon Sep 17 00:00:00 2001 From: Ben Claussen Date: Fri, 23 Jul 2021 10:26:14 -0400 Subject: [PATCH] Update deployment files --- NetboxPS.psd1 | 4 ++-- NetboxPS/NetboxPS.psd1 | 4 ++-- NetboxPS/NetboxPS.psm1 | 11 +++++++++-- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/NetboxPS.psd1 b/NetboxPS.psd1 index ead3b18..a6b4a3f 100644 --- a/NetboxPS.psd1 +++ b/NetboxPS.psd1 @@ -3,7 +3,7 @@ # # Generated by: Ben Claussen # -# Generated on: 2021-07-22 +# Generated on: 2021-07-23 # @{ @@ -12,7 +12,7 @@ RootModule = 'NetboxPS.psm1' # Version number of this module. -ModuleVersion = '1.4' +ModuleVersion = '1.4.1' # Supported PSEditions # CompatiblePSEditions = @() diff --git a/NetboxPS/NetboxPS.psd1 b/NetboxPS/NetboxPS.psd1 index ead3b18..a6b4a3f 100644 --- a/NetboxPS/NetboxPS.psd1 +++ b/NetboxPS/NetboxPS.psd1 @@ -3,7 +3,7 @@ # # Generated by: Ben Claussen # -# Generated on: 2021-07-22 +# Generated on: 2021-07-23 # @{ @@ -12,7 +12,7 @@ RootModule = 'NetboxPS.psm1' # Version number of this module. -ModuleVersion = '1.4' +ModuleVersion = '1.4.1' # Supported PSEditions # CompatiblePSEditions = @() diff --git a/NetboxPS/NetboxPS.psm1 b/NetboxPS/NetboxPS.psm1 index 61fa4b8..1b31bb1 100644 --- a/NetboxPS/NetboxPS.psm1 +++ b/NetboxPS/NetboxPS.psm1 @@ -2021,7 +2021,14 @@ function Get-NetboxIPAMAvailableIP { A description of the NumberOfIPs parameter. .EXAMPLE - PS C:\> Get-NetboxIPAMAvaiableIP -Prefix_ID $value1 + Get-NetboxIPAMAvailableIP -Prefix_ID (Get-NetboxIPAMPrefix -Prefix 192.0.2.0/24).id + + Get (Next) Available IP on the Prefix 192.0.2.0/24 + + .EXAMPLE + Get-NetboxIPAMAvailableIP -Prefix_ID 2 -NumberOfIPs 3 + + Get 3 (Next) Available IP on the Prefix 192.0.2.0/24 .NOTES Additional information about the function. @@ -4979,7 +4986,7 @@ function VerifyAPIConnectivity { Script generated by PowerShell Studio 2020 #> -# Build a list of common paramters so we can omit them to build URI parameters +# Build a list of common parameters so we can omit them to build URI parameters $script:CommonParameterNames = New-Object System.Collections.ArrayList [void]$script:CommonParameterNames.AddRange(@([System.Management.Automation.PSCmdlet]::CommonParameters)) [void]$script:CommonParameterNames.AddRange(@([System.Management.Automation.PSCmdlet]::OptionalCommonParameters))