Quote:
A batch file may contain any command the interpreter accepts interactively at the command prompt. A batch file may also have constructs (IF, GOTO, Labels, CALL, etc.) that enable conditional branching and looping within the batch file.
From Wiki
Recently i created a windows 8.1 app, and when i created Package for that app to install in my test machine it generated power shell script file.
PS file has set of commands which run and install my app on client machine.