Apache Airflow provider for Microsoft PowerShell Remoting Protocol (PSRP), enabling remote execution of PowerShell commands and scripts on Windows hosts. Current version 3.2.5, part of the official Airflow providers collection. Releases follow Airflow's provider release cadence.
pip install apache-airflow-providers-microsoft-psrpVerified import paths — ran on the pinned version, not inferred.
Minimal DAG that runs a PowerShell command on a remote Windows host via PSRP. Requires a configured Airflow connection with host, login, password, etc.
Use the correct install command: pip install apache-airflow-providers-microsoft-psrp and import from airflow.providers.microsoft.psrp.
On Windows, run: Enable-PSRemoting -Force. Adjust firewall rules to allow WinRM traffic.
For testing, use NTLM with a local admin account. For production, prefer Kerberos or SSL with Basic.
Recreate connections using the Airflow UI for the PSRP provider; avoid manual extras in connection string.
Run 'pip install apache-airflow-providers-microsoft-psrp' and ensure Airflow is installed (version 2.1+).
Verify WinRM is enabled: run 'Enable-PSRemoting -Force' on the Windows host and check firewall rules for port 5985 (HTTP) or 5986 (HTTPS).
Double-check the Airflow connection credentials. Ensure the authentication type (NTLM, Kerberos, Basic) matches the server configuration. For NTLM, use DOMAIN\username format.