summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/win_exec_wrapper/library/test_min_os_version.ps1
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/targets/win_exec_wrapper/library/test_min_os_version.ps1')
-rw-r--r--test/integration/targets/win_exec_wrapper/library/test_min_os_version.ps18
1 files changed, 8 insertions, 0 deletions
diff --git a/test/integration/targets/win_exec_wrapper/library/test_min_os_version.ps1 b/test/integration/targets/win_exec_wrapper/library/test_min_os_version.ps1
new file mode 100644
index 0000000..39b1ded
--- /dev/null
+++ b/test/integration/targets/win_exec_wrapper/library/test_min_os_version.ps1
@@ -0,0 +1,8 @@
+#!powershell
+
+#Requires -Module Ansible.ModuleUtils.Legacy
+#AnsibleRequires -OSVersion 20.0
+
+# this shouldn't run as no Windows OS will meet the version of 20.0
+
+Exit-Json -obj @{ output = "output"; changed = $false }