powershell¶
Collection Note
This module is part of the ansible.builtin collection. To install the collection, use:
Added in versionhistorical.
Synopsis¶
- The only option when using 'winrm' or 'psrp' as a connection plugin.
- Can also be used when using 'ssh' as a connection plugin and the C(DefaultShell) has been configured to PowerShell.
Parameters¶
| Parameter | Defaults / Choices | Comments |
|---|---|---|
| async_dir | Default: %USERPROFILE%\.ansible_async |
Directory in which ansible will keep async job information. Before Ansible 2.8, this was set to C(remote_tmp + "\.ansible_async"). Version Added: 2.8 |
| remote_tmp | Default: %TEMP% |
Temporary directory to use on targets when copying files to the host. |
| set_module_language bool |
Default: no Choices: no, False |
Controls if we set the locale for modules when executing on the target. Windows only supports V(no) as an option. |