From 3763d97d9ad957be71351ce7fa70393fe812729a Mon Sep 17 00:00:00 2001 From: sheffsix Date: Mon, 13 Mar 2023 17:13:08 +0000 Subject: [PATCH] Fix incorrect parameter variable types --- Functions/DCIM/FrontPorts/Get-NetboxDCIMFrontPort.ps1 | 4 ++-- Functions/DCIM/RearPorts/Get-NetboxDCIMRearPort.ps1 | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Functions/DCIM/FrontPorts/Get-NetboxDCIMFrontPort.ps1 b/Functions/DCIM/FrontPorts/Get-NetboxDCIMFrontPort.ps1 index 1188bcb..e68d283 100644 --- a/Functions/DCIM/FrontPorts/Get-NetboxDCIMFrontPort.ps1 +++ b/Functions/DCIM/FrontPorts/Get-NetboxDCIMFrontPort.ps1 @@ -12,13 +12,13 @@ function Get-NetboxDCIMFrontPort [Parameter(ValueFromPipelineByPropertyName = $true)] [uint16]$Id, - [uint16]$Name, + [string]$Name, [string]$Device, [uint16]$Device_Id, - [uint16]$Type, + [string]$Type, [switch]$Raw ) diff --git a/Functions/DCIM/RearPorts/Get-NetboxDCIMRearPort.ps1 b/Functions/DCIM/RearPorts/Get-NetboxDCIMRearPort.ps1 index 921f26a..da59e0b 100644 --- a/Functions/DCIM/RearPorts/Get-NetboxDCIMRearPort.ps1 +++ b/Functions/DCIM/RearPorts/Get-NetboxDCIMRearPort.ps1 @@ -12,13 +12,13 @@ function Get-NetboxDCIMRearPort [Parameter(ValueFromPipelineByPropertyName = $true)] [uint16]$Id, - [uint16]$Name, + [string]$Name, [string]$Device, [uint16]$Device_Id, - [uint16]$Type, + [string]$Type, [switch]$Raw )