ansible.builtin.powershell (v2.7.9) — shell

Windows Powershell

| "added in version" of ansible.builtin"

Authors: unknown

Install Ansible via pip

Install with pip install ansible==2.7.9

Description

The only option when using 'winrm' as a connection plugin

Inputs

    
remote_tmp:
    default: '%TEMP%'
    description:
    - Temporary directory to use on targets when copying files to the host.
    ini:
    - key: remote_tmp
      section: powershell
    vars:
    - name: ansible_remote_tmp

environment:
    default: {}
    description:
    - Dictionary of environment variables and their values to use when executing commands.
    type: dict

set_module_language:
    choices:
    - 'no'
    default: 'no'
    description:
    - Controls if we set the locale for moduels when executing on the target.
    - Windows only supports C(no) as an option.
    type: bool