add -Force to Remove-Item Cmdlet
prevent $workDir -eq $null
explicitly execute bat
use `cd $originDir` instead of `cd ..`
add echo to output build process