mirror of
https://github.com/benclaussen/NetboxPS.git
synced 2025-12-13 18:02:29 +00:00
Add pipeline support for Get-NetboxIPAMAvailableIP
This commit is contained in:
parent
3b33bcecce
commit
b73bbcb8dc
2 changed files with 8 additions and 6 deletions
|
|
@ -423,6 +423,3 @@ public enum $EnumName
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -232,12 +232,15 @@ function Get-NetboxIPAMAvailableIP {
|
||||||
.PARAMETER Prefix_ID
|
.PARAMETER Prefix_ID
|
||||||
A description of the Prefix_ID parameter.
|
A description of the Prefix_ID parameter.
|
||||||
|
|
||||||
.PARAMETER NumberOfIPs
|
.PARAMETER Limit
|
||||||
A description of the NumberOfIPs parameter.
|
A description of the Limit parameter.
|
||||||
|
|
||||||
.PARAMETER Raw
|
.PARAMETER Raw
|
||||||
A description of the Raw parameter.
|
A description of the Raw parameter.
|
||||||
|
|
||||||
|
.PARAMETER NumberOfIPs
|
||||||
|
A description of the NumberOfIPs parameter.
|
||||||
|
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS C:\> Get-NetboxIPAMAvaiableIP -Prefix_ID $value1
|
PS C:\> Get-NetboxIPAMAvaiableIP -Prefix_ID $value1
|
||||||
|
|
||||||
|
|
@ -248,7 +251,9 @@ function Get-NetboxIPAMAvailableIP {
|
||||||
[CmdletBinding()]
|
[CmdletBinding()]
|
||||||
param
|
param
|
||||||
(
|
(
|
||||||
[Parameter(Mandatory = $true)]
|
[Parameter(Mandatory = $true,
|
||||||
|
ValueFromPipelineByPropertyName = $true)]
|
||||||
|
[Alias('Id')]
|
||||||
[uint16]$Prefix_ID,
|
[uint16]$Prefix_ID,
|
||||||
|
|
||||||
[Alias('NumberOfIPs')]
|
[Alias('NumberOfIPs')]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue