diff --git a/lib/ansible/modules/windows/win_file.ps1 b/lib/ansible/modules/windows/win_file.ps1 index 958f9f04fc..e064c5c6db 100644 --- a/lib/ansible/modules/windows/win_file.ps1 +++ b/lib/ansible/modules/windows/win_file.ps1 @@ -102,7 +102,7 @@ Else If ( $state -eq "directory" ) { - New-Item -ItemType directory -Path $path + New-Item -ItemType directory -Path $path | Out-Null $result.changed = $TRUE }