Using the Cmdlets in Recovery Scripts

Before and after executing a failover, move, test failover or committing or rolling back a failover or move, you can run executable scripts, such as Windows or PowerShell scripts.