diff --git a/Functions/IPAM/Address/New-NetboxIPAMAddress.ps1 b/Functions/IPAM/Address/New-NetboxIPAMAddress.ps1 index 71cd83b..8650d9a 100644 --- a/Functions/IPAM/Address/New-NetboxIPAMAddress.ps1 +++ b/Functions/IPAM/Address/New-NetboxIPAMAddress.ps1 @@ -56,9 +56,6 @@ function New-NetboxIPAMAddress { .PARAMETER Assigned_Object_Id Assigned Object ID - .PARAMETER Force - Do not prompt for confirmation to create IP. - .PARAMETER Raw Return raw results from API service @@ -103,8 +100,6 @@ function New-NetboxIPAMAddress { [int]$Assigned_Object_Id, - [switch]$Force, - [switch]$Raw ) @@ -116,7 +111,7 @@ function New-NetboxIPAMAddress { $URI = BuildNewURI -Segments $URIComponents.Segments - if ($Force -or $PSCmdlet.ShouldProcess($Address, 'Create new IP address')) { + if ($PSCmdlet.ShouldProcess($Address, 'Create new IP address')) { InvokeNetboxRequest -URI $URI -Method $Method -Body $URIComponents.Parameters -Raw:$Raw } }