bash is for linux machines, and powershell is for windows / linux. scripting is often easier in powershell as it is frequently being updated to support more paradigms.