From bdc28a6bb351688f54ffab8ca6ca7d572e4f8f67 Mon Sep 17 00:00:00 2001 From: Ian Clegg Date: Fri, 20 Mar 2015 10:34:36 +0000 Subject: [PATCH] Added support for comma seperated feature names in the name parameter of the win_feature module --- windows/win_feature.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/windows/win_feature.ps1 b/windows/win_feature.ps1 index a54007b47bf..458d942e328 100644 --- a/windows/win_feature.ps1 +++ b/windows/win_feature.ps1 @@ -28,7 +28,7 @@ $result = New-Object PSObject -Property @{ } If ($params.name) { - $name = $params.name + $name = $params.name -split ',' | % { $_.Trim() } } Else { Fail-Json $result "mising required argument: name"