Explictly set the version of strict mode to use for powershell modules.

This commit is contained in:
= 2015-10-07 06:24:37 +01:00
commit 345ce424c6
2 changed files with 2 additions and 2 deletions

View file

@ -26,7 +26,7 @@
# USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
Set-StrictMode -Version Latest
Set-StrictMode -Version 2.0
# Ansible v2 will insert the module arguments below as a string containing
# JSON; assign them to an environment variable and redefine $args so existing