@echo off setlocal EnableExtensions set "ps1=A:\1 Amazon_Active_Projects\3 ProjectStructure\UpdateSequences.ps1" echo Running PowerShell update script... powershell -NoProfile -ExecutionPolicy Bypass -File "%ps1%" set "rc=%errorlevel%" echo PowerShell exited with RC=%rc% echo @"_CURRENT\_UpdateSequences.log" echo( Done. Press any key to exit. pause >nul exit /b %rc%