MicrosoftWindows Deprecated

Agentless Windows host management over WinRM. Deprecated. Use Ansible Microsoft Windows (from the Ansible Microsoft Windows pack) instead.

IT Services · Ansible Powered Integrations (Deprecated)

Configuration parameters

  • creds — Username (required)
  • port — Default WinRM Port (required)
  • concurrency — Concurrecy Factor (required)

Commands (104)

  • win-acl

    Set file/directory/registry permissions for a system user or group.

  • win-acl-inheritance

    Change ACL inheritance.

  • win-audit-policy-system

    Used to make changes to the system wide Audit Policy.

  • win-audit-rule

    Adds an audit rule to files, folders, or registry keys.

  • win-certificate-store

    Manages the certificate store.

  • win-chocolatey

    Manage packages using chocolatey.

  • win-chocolatey-config

    Manages Chocolatey config settings.

  • win-chocolatey-facts

    Create a facts collection for Chocolatey.

  • win-chocolatey-feature

    Manages Chocolatey features.

  • win-chocolatey-source

    Manages Chocolatey sources.

  • win-copy

    Copies files to remote locations on windows hosts.

  • win-credential

    Manages Windows Credentials in the Credential Manager.

  • win-defrag

    Consolidate fragmented files on local volumes.

  • win-disk-facts

    Show the attached disks and disk information of the target host.

  • win-disk-image

    Manage ISO/VHD/VHDX mounts on Windows hosts.

  • win-dns-client

    Configures DNS lookup on Windows hosts.

  • win-dns-record

    Manage Windows Server DNS records.

  • win-domain

    Ensures the existence of a Windows domain.

  • win-domain-computer

    Manage computers in Active Directory.

  • win-domain-controller

    Manage domain controller/member server state for a Windows host.

  • win-domain-group

    Creates, modifies or removes domain groups.

  • win-domain-group-membership

    Manage Windows domain group membership.

  • win-domain-membership

    Manage domain/workgroup membership for a Windows host.

  • win-domain-user

    Manages Windows Active Directory user accounts.

  • win-dotnet-ngen

    Runs ngen to recompile DLLs after .NET updates.

  • win-dsc

    Invokes a PowerShell DSC configuration.

  • win-environment

    Modify environment variables on windows hosts.

  • win-eventlog

    Manage Windows event logs.

  • win-eventlog-entry

    Write entries to Windows event logs.

  • win-feature

    Installs and uninstalls Windows Features on Windows Server.

  • win-file

    Creates, touches or removes files or directories.

  • win-file-version

    Get DLL or EXE file build version.

  • win-find

    Return a list of files based on specific criteria.

  • win-firewall

    Enable or disable the Windows Firewall.

  • win-firewall-rule

    Windows firewall automation.

  • win-format

    Formats an existing volume or a new volume on an existing partition on Windows.

  • win-gather-facts

    Gathers facts about remote hosts.

  • win-get-url

    Downloads file from HTTP, HTTPS, or FTP to node.

  • win-group

    Add and remove local groups.

  • win-group-membership

    Manage Windows local group membership.

  • win-hostname

    Manages local Windows computer name.

  • win-hosts

    Manages hosts file entries on Windows.

  • win-hotfix

    Install and uninstalls Windows hotfixes.

  • win-http-proxy

    Manages proxy settings for WinHTTP.

  • win-iis-virtualdirectory

    Configures a virtual directory in IIS.

  • win-iis-webapplication

    Configures IIS web applications.

  • win-iis-webapppool

    Configure IIS Web Application Pools.

  • win-iis-webbinding

    Configures a IIS Web site binding.

  • win-iis-website

    Configures a IIS Web site.

  • win-inet-proxy

    Manages proxy settings for WinINet and Internet Explorer.

  • win-lineinfile

    Ensure a particular line is in a file, or replace an existing line using a back-referenced regular expression.

  • win-mapped-drive

    Map network drives for users.

  • win-msg

    Sends a message to logged in users on Windows hosts.

  • win-netbios

    Manage NetBIOS over TCP/IP settings on Windows.

  • win-nssm

    Install a service using NSSM.

  • win-optional-feature

    Manage optional Windows features.

  • win-owner

    Set owner.

  • win-package

    Installs/uninstalls an installable package.

  • win-pagefile

    Query or change pagefile configuration.

  • win-partition

    Creates, changes and removes partitions on Windows Server.

  • win-path

    Manage Windows path environment variables.

  • win-pester

    Run Pester tests on Windows hosts.

  • win-ping

    A windows version of the classic ping module.

  • win-power-plan

    Changes the power plan of a Windows system.

  • win-product-facts

    Provides Windows product and license information.

  • win-psexec

    Runs commands (remotely) as another (privileged) user.

  • win-psmodule

    Adds or removes a Windows PowerShell module.

  • win-psrepository

    Adds, removes or updates a Windows PowerShell repository.

  • win-rabbitmq-plugin

    Manage RabbitMQ plugins.

  • win-rds-cap

    Manage Connection Authorization Policies (CAP) on a Remote Desktop Gateway server.

  • win-rds-rap

    Manage Resource Authorization Policies (RAP) on a Remote Desktop Gateway server.

  • win-rds-settings

    Manage main settings of a Remote Desktop Gateway server.

  • win-reboot

    Reboot a windows machine.

  • win-reg-stat

    Get information about Windows registry keys.

  • win-regedit

    Add, change, or remove registry keys and values.

  • win-region

    Set the region and format settings.

  • win-regmerge

    Merges the contents of a registry file into the Windows registry.

  • win-robocopy

    Synchronizes the contents of two directories using Robocopy.

  • win-route

    Add or remove a static route.

  • win-say

    Text to speech module for Windows to speak messages and optionally play sounds.

  • win-scheduled-task

    Manage scheduled tasks.

  • win-scheduled-task-stat

    Get information about Windows Scheduled Tasks.

  • win-security-policy

    Change local security policy settings.

  • win-service

    Manage and query Windows services.

  • win-share

    Manage Windows shares.

  • win-shortcut

    Manage shortcuts on Windows.

  • win-snmp

    Configures the Windows SNMP service.

  • win-stat

    Get information about Windows files.

  • win-tempfile

    Creates temporary files and directories.

  • win-template

    Template a file out to a remote server.

  • win-timezone

    Sets Windows machine timezone.

  • win-toast

    Sends Toast windows notification to logged in users on Windows 10 or later hosts.

  • win-unzip

    Unzips compressed files and archives on the Windows node.

  • win-updates

    Download and install Windows updates.

  • win-uri

    Interacts with webservices.

  • win-user

    Manages local Windows user accounts.

  • win-user-profile

    Manages the Windows user profiles.

  • win-user-right

    Manage Windows User Rights.

  • win-wait-for

    Waits for a condition before continuing.

  • win-wait-for-process

    Waits for a process to exist or not exist before continuing.

  • win-wakeonlan

    Send a magic Wake-on-LAN (WoL) broadcast packet.

  • win-webpicmd

    Installs packages using Web Platform Installer command-line.

  • win-whoami

    Get information about the current user and process.

  • win-xml

    Manages XML file content on Windows hosts.