ansible/test/integration/targets/module_utils_Ansible.ModuleUtils.CommandUtil
Jordan Borean 9970893084
Add PowerShell 7 support (#85796)
* Add PowerShell 7 support

Add support for running PowerShell modules cross platform and with
PowerShell 7. Tidies up some PowerShell shell plugin methods to make
it more reflective of the target shell vs a shell used for Windows.

Currently only Windows is officially supported with a plan on adding
tests and official support for non-Windows platforms at a later date.

ci_complete

* Fix pslint sanity issues

* Fix up typos

* Update lib/ansible/plugins/connection/psrp.py

Co-authored-by: Brian Scholer <1260690+briantist@users.noreply.github.com>

* Add note about relative symlink

* Use TracebacksFor instead of Verbosity for debug info

* Use proper powershell name in CI script

* Remove extra ansible-test changes leftover from rebase

---------

Co-authored-by: Brian Scholer <1260690+briantist@users.noreply.github.com>
2026-02-28 18:25:26 +10:00
..
library Add PowerShell 7 support (#85796) 2026-02-28 18:25:26 +10:00
meta
tasks
aliases