add ErrorActionPreference and LastExitCode to tips