We have tests that require the WebDAV-Redirector feature be enabled in Windows. This feature requires a restart when enabled so it isn't something we can do during the pipeline.
These are the commands we are ultimately trying to execute:
Install-WindowsFeature WebDAV-Redirector -Restart
Set-Service WebClient -StartupType Automatic
Set-Service MRxDAV -StartupType Automatic
Start-Service WebClient
Start-Service MRxDAV