diff --git a/Functions/Setup/Support/Test-NetboxAPIConnected.ps1 b/Functions/Setup/Support/Test-NetboxAPIConnected.ps1 new file mode 100644 index 0000000..50052a7 --- /dev/null +++ b/Functions/Setup/Support/Test-NetboxAPIConnected.ps1 @@ -0,0 +1,7 @@ + +function Test-NetboxAPIConnected { + [CmdletBinding()] + param () + + $script:NetboxConfig.Connected +} \ No newline at end of file diff --git a/NetboxPS.psproj b/NetboxPS.psproj index 91c2618..206b44e 100644 --- a/NetboxPS.psproj +++ b/NetboxPS.psproj @@ -129,6 +129,7 @@ Functions\Setup\Support\Get-NetboxContentType.ps1 Functions\Tenancy\ContactAssignment\New-NetboxContactAssignment.ps1 Functions\Tenancy\Contacts\Set-NetboxContact.ps1 + Functions\Setup\Support\Test-NetboxAPIConnected.ps1 R:\Netbox\NetboxPS\Test-Module.ps1 \ No newline at end of file