mirror of
https://github.com/benclaussen/NetboxPS.git
synced 2025-12-13 18:02:29 +00:00
11 lines
No EOL
326 B
PowerShell
11 lines
No EOL
326 B
PowerShell
function Get-NetboxHostScheme {
|
|
[CmdletBinding()]
|
|
param ()
|
|
|
|
Write-Verbose "Getting Netbox host scheme"
|
|
if ($null -eq $script:NetboxConfig.Hostscheme) {
|
|
throw "Netbox host sceme is not set! You may set it with Set-NetboxHostScheme -Scheme 'https'"
|
|
}
|
|
|
|
$script:NetboxConfig.HostScheme
|
|
} |