mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2025-12-20 23:00:35 -05:00
Added tool function to translate Icinga Args in PS Args
This commit is contained in:
parent
6d2acd422d
commit
1edcec19a2
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