mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Show powershell version
This commit is contained in:
parent
fc87799639
commit
46ce2f9e2d
1 changed files with 1 additions and 0 deletions
|
@ -60,6 +60,7 @@ def test_windows_script_args_powershell(cmd, shell, issue_56195):
|
|||
ret = cmd.script(source=script, args=args, shell=shell, saltenv="base")
|
||||
|
||||
import_result = cmd.run("Import-Module Microsoft.PowerShell.Security", shell=shell)
|
||||
powershell_version = cmd.run("$PSVersionTable", shell=shell)
|
||||
|
||||
assert ret["stdout"] == password
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue