NetboxPS/Functions/Setup/Get-NetboxInvokeParams.ps1
2021-07-22 10:27:58 -04:00

11 lines
No EOL
329 B
PowerShell

function Get-NetboxInvokeParams {
[CmdletBinding()]
param ()
Write-Verbose "Getting Netbox InvokeParams"
if ($null -eq $script:NetboxConfig.InvokeParams) {
throw "Netbox Invoke Params is not set! You may set it with Set-NetboxInvokeParams -InvokeParams ..."
}
$script:NetboxConfig.InvokeParams
}