From bad636152ad261ccd2091d428bb9c814610c6f90 Mon Sep 17 00:00:00 2001 From: Chris Church Date: Thu, 30 Jul 2015 15:48:34 -0400 Subject: [PATCH] Add check mode support for Windows modules that don't modify the remote system. --- windows/slurp.ps1 | 2 +- windows/win_ping.ps1 | 2 +- windows/win_stat.ps1 | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/windows/slurp.ps1 b/windows/slurp.ps1 index edf1da7635f..073acddeade 100644 --- a/windows/slurp.ps1 +++ b/windows/slurp.ps1 @@ -17,7 +17,7 @@ # WANT_JSON # POWERSHELL_COMMON -$params = Parse-Args $args; +$params = Parse-Args $args $true; $src = Get-Attr $params "src" (Get-Attr $params "path" $FALSE); If (-not $src) diff --git a/windows/win_ping.ps1 b/windows/win_ping.ps1 index 98f1415e290..a4dd60ef19b 100644 --- a/windows/win_ping.ps1 +++ b/windows/win_ping.ps1 @@ -17,7 +17,7 @@ # WANT_JSON # POWERSHELL_COMMON -$params = Parse-Args $args; +$params = Parse-Args $args $true; $data = Get-Attr $params "data" "pong"; diff --git a/windows/win_stat.ps1 b/windows/win_stat.ps1 index 51c9c827093..cf8c14a4d49 100644 --- a/windows/win_stat.ps1 +++ b/windows/win_stat.ps1 @@ -17,7 +17,7 @@ # WANT_JSON # POWERSHELL_COMMON -$params = Parse-Args $args; +$params = Parse-Args $args $true; function Date_To_Timestamp($start_date, $end_date) {