mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2025-12-21 07:10:15 -05:00
Added tool function to translate Icinga Args in PS Args
This commit is contained in:
parent
8e8d879ff2
commit
89647ede8f
1 changed files with 9 additions and 0 deletions
9
lib/core/tools/Split-IcingaCheckCommandArgs.psm1
Normal file
9
lib/core/tools/Split-IcingaCheckCommandArgs.psm1
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
function Split-IcingaCheckCommandArgs()
|
||||||
|
{
|
||||||
|
[array]$arguments = @();
|
||||||
|
foreach ($arg in $args) {
|
||||||
|
$arguments += $arg;
|
||||||
|
}
|
||||||
|
|
||||||
|
return $arguments;
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue