mirror of
https://github.com/benclaussen/NetboxPS.git
synced 2025-12-14 02:12:28 +00:00
Allow pipeline input for Address parameter in New-NetboxIPAMAddress
This commit is contained in:
parent
a905a8d598
commit
9649237394
1 changed files with 13 additions and 12 deletions
|
|
@ -65,7 +65,8 @@ function New-NetboxIPAMAddress {
|
||||||
[OutputType([pscustomobject])]
|
[OutputType([pscustomobject])]
|
||||||
param
|
param
|
||||||
(
|
(
|
||||||
[Parameter(Mandatory = $true)]
|
[Parameter(Mandatory = $true,
|
||||||
|
ValueFromPipelineByPropertyName = $true)]
|
||||||
[string]$Address,
|
[string]$Address,
|
||||||
|
|
||||||
[object]$Status = 'Active',
|
[object]$Status = 'Active',
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue