mirror of
https://github.com/benclaussen/NetboxPS.git
synced 2025-12-14 02:12:28 +00:00
11 lines
326 B
PowerShell
11 lines
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
|
|||
|
|
}
|