powershell – Windows Powershell

Synopsis

  • The only option when using ‘winrm’ as a connection plugin

Parameters

Parameter Choices/Defaults Configuration Comments
environment
dictionary
Default:
{}
Dictionary of environment variables and their values to use when executing commands.
remote_tmp
-
Default:
"%TEMP%"
ini entries:

[powershell]
remote_tmp = %TEMP%

var: ansible_remote_tmp
Temporary directory to use on targets when copying files to the host.
set_module_language
boolean
    Choices:
  • no ←
  • yes
Controls if we set the locale for moduels when executing on the target.
Windows only supports no as an option.

Status

Authors

  • UNKNOWN

Hint

If you notice any issues in this documentation you can edit this document to improve it.