diff --git a/Functions/Helpers/ThrowNetboxRESTError.ps1 b/Functions/Helpers/ThrowNetboxRESTError.ps1 deleted file mode 100644 index 078de90..0000000 --- a/Functions/Helpers/ThrowNetboxRESTError.ps1 +++ /dev/null @@ -1,24 +0,0 @@ -<# - .NOTES - =========================================================================== - Created with: SAPIEN Technologies, Inc., PowerShell Studio 2020 v5.7.172 - Created on: 3/26/2020 14:25 - Created by: Claussen - Organization: NEOnet - Filename: ThrowNetboxRESTError.ps1 - =========================================================================== - .DESCRIPTION - A description of the file. -#> - - -function ThrowNetboxRESTError { - $uriSegments = [System.Collections.ArrayList]::new(@('fake', 'url')) - - $URIParameters = @{ - } - - $uri = BuildNewURI -Segments $uriSegments -Parameters $URIParameters - - InvokeNetboxRequest -URI $uri -Raw -} \ No newline at end of file diff --git a/NetboxPS.psproj b/NetboxPS.psproj index b71197d..c37e1db 100644 --- a/NetboxPS.psproj +++ b/NetboxPS.psproj @@ -48,7 +48,6 @@ Functions\Helpers\BuildURIComponents.ps1 Functions\Helpers\GetNetboxAPIErrorBody.ps1 Functions\Helpers\InvokeNetboxRequest.ps1 - Functions\Helpers\ThrowNetboxRESTError.ps1 Functions\Helpers\CreateEnum.ps1 Functions\Setup\Support\VerifyAPIConnectivity.ps1 Functions\Setup\Support\SetupNetboxConfigVariable.ps1