NetboxPS/Functions/Setup/Get-NetboxHostScheme.ps1
Alexis La Goutte 3dbfdaf038 Fix trailing white space
using Invoke-ScriptAnalyzer -Fix -Path . -Recurse
2021-07-23 20:56:30 +02:00

11 lines
No EOL
318 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
}