mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Added support for comma seperated feature names in the name parameter of the win_feature module
This commit is contained in:
parent
8bd367eac7
commit
f9c294f1ad
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ $result = New-Object PSObject -Property @{
|
||||||
}
|
}
|
||||||
|
|
||||||
If ($params.name) {
|
If ($params.name) {
|
||||||
$name = $params.name
|
$name = $params.name -split ',' | % { $_.Trim() }
|
||||||
}
|
}
|
||||||
Else {
|
Else {
|
||||||
Fail-Json $result "mising required argument: name"
|
Fail-Json $result "mising required argument: name"
|
||||||
|
|
Loading…
Reference in a new issue