Power Shell is a scripting tool from Microsoft. One can write scripts to automate processes or tasks in Windows. The boundaries of Power Shell is not confined to only Windows, Power Shell is being used in other Microsoft Technologies like SharePoint, Exchange and Office 365.
Power Shell scripts are saved with the extension ps1 . It is written in an ISE called Windows PowerShell ISE. This is where you can write scripts and test it.