function Get-NetboxDCIMCable { [CmdletBinding()] #region Parameters param ( [uint16]$Limit, [uint16]$Offset, [Parameter(ValueFromPipelineByPropertyName = $true)] [uint16[]]$Id, [string]$Label, [string]$Termination_A_Type, [uint64]$Termination_A_ID, [string]$Termination_B_Type, [uint64]$Termination_B_ID, [string]$Type, [string]$Status, [string]$Color, [uint64]$Device_ID, [string]$Device, [uint64]$Rack_Id, [string]$Rack, [uint64]$Location_ID, [string]$Location, [switch]$Raw ) #endregion Parameters process { $Segments = [System.Collections.ArrayList]::new(@('dcim', 'cables')) $URIComponents = BuildURIComponents -URISegments $Segments.Clone() -ParametersDictionary $PSBoundParameters -SkipParameterByName 'Raw' $URI = BuildNewURI -Segments $URIComponents.Segments -Parameters $URIComponents.Parameters InvokeNetboxRequest -URI $URI -Raw:$Raw } }