what is the difference between batch script and powershell script?
Or in other words, a batch script is just a series of Command Prompt commands (with some conditional logic thrown in). ... On the other hand, PowerShell scripts are written using the PowerShell scripting language, which is a real programming language that's capable of elaborate logic for truly advanced tasks.