mirror of
https://github.com/benclaussen/NetboxPS.git
synced 2025-12-13 18:02:29 +00:00
14 lines
No EOL
402 B
PowerShell
14 lines
No EOL
402 B
PowerShell
function Set-NetboxInvokeParams {
|
|
[CmdletBinding(ConfirmImpact = 'Low',
|
|
SupportsShouldProcess = $true)]
|
|
[OutputType([string])]
|
|
param(
|
|
[Parameter(Mandatory = $true)]
|
|
[array]$InvokeParams
|
|
)
|
|
|
|
if ($PSCmdlet.ShouldProcess('Netbox Invoke Params', 'Set')) {
|
|
$script:NetboxConfig.InvokeParams = $InvokeParams
|
|
$script:NetboxConfig.InvokeParams
|
|
}
|
|
} |