Convert windows PowerShell script to .bat file