Fixes
This commit is contained in:
@@ -61,12 +61,12 @@ function Set-Address {
|
||||
)
|
||||
process {
|
||||
$_params = @{
|
||||
Controller = "addresses"
|
||||
Controller = [PS.IPAM.controllers]::addresses
|
||||
Method = "PATCH"
|
||||
}
|
||||
switch ($PSCmdlet.ParameterSetName) {
|
||||
"ByID" { $_id = $Id;break }
|
||||
"ByAddressObject" { $_id = $AddressObject.id;break }
|
||||
"ByID" { $_id = $Id; break }
|
||||
"ByAddressObject" { $_id = $AddressObject.id; break }
|
||||
}
|
||||
$_identifiers = @($_id)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user