summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/win_exec_wrapper/library/test_min_ps_version.ps1
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/targets/win_exec_wrapper/library/test_min_ps_version.ps1')
-rw-r--r--test/integration/targets/win_exec_wrapper/library/test_min_ps_version.ps18
1 files changed, 8 insertions, 0 deletions
diff --git a/test/integration/targets/win_exec_wrapper/library/test_min_ps_version.ps1 b/test/integration/targets/win_exec_wrapper/library/test_min_ps_version.ps1
new file mode 100644
index 0000000..bb5fd0f
--- /dev/null
+++ b/test/integration/targets/win_exec_wrapper/library/test_min_ps_version.ps1
@@ -0,0 +1,8 @@
+#!powershell
+
+#Requires -Module Ansible.ModuleUtils.Legacy
+#Requires -Version 20.0.0.0
+
+# this shouldn't run as no PS Version will be at 20 in the near future
+
+Exit-Json -obj @{ output = "output"; changed = $false }