When you embed PowerShell commands in Batch Files, you should take great care in properly escaping the double quotes. By enclosing the whole PowerShell command in double quotes, you have to convert the double quotes character "
to \"
Here's the correctedExample.bat
script:
@echo off
set cwd=%~dp0
set argv=_%*
set argv=%argv:"=\"%
set argv=%argv:~1%
powershell -NoProfile -ExecutionPolicy Bypass -Command "& '%cwd%Example.ps1' %argv%"