Add pipeline support for Get-NetboxIPAMAvailableIP

This commit is contained in:
Ben Claussen 2018-05-29 10:41:57 -04:00
parent 3b33bcecce
commit b73bbcb8dc
2 changed files with 8 additions and 6 deletions

View file

@ -423,6 +423,3 @@ public enum $EnumName

View file

@ -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')]