@echo off REM Collects what's needed to diagnose a problem into a text file on the Desktop. powershell.exe -ExecutionPolicy Bypass -File "%~dp0Get-Report.ps1" pause