airflow.providers.microsoft.psrp.hooks.psrp

Module Contents

class airflow.providers.microsoft.psrp.hooks.psrp.PSRPHook(psrp_conn_id: str)[source]

Bases: airflow.hooks.base.BaseHook

Hook for PowerShell Remoting Protocol execution.

The hook must be used as a context manager.

__enter__(self)[source]
__exit__(self, exc_type, exc_value, traceback)[source]
invoke_powershell(self, script: str)[source]

Was this entry helpful?