It is a framework by Microsoft which can be used for task automation and configuration management. PowerShell can run using:
Windows PowerShell
Windows PowerShell console is a command-line interface that allows us to run different commands and accomplish many tasks.
PowerShell Core
It is a cross-platform command-line interface which can do almost all that Windows PowerShell can do. It is recommended by many experts that PowerShell Core is future of PowerShell, you can download it from here.
Windows PowerShell ISE(Integrated Script Engine)
It is an editor for PowerShell scripts that allows running PowerShell commands from the editor.
Visual Studio Code
It is a new cross-platform tool, the PowerShell extension can be installed and add different commands to the interface. We can run whole scripts or small portions by select it. It gives a lot of flexibility when running scripts.
Examples
Here are some examples that use PowerShell:
Server Manager
The Server Manager in Windows uses PowerShell on the backend for various tasks; for example: starting or stopping any service. With PowerShell, most of the features are accessible and can be used in the script for automation.
Windows Admin Center
It is used to work with Windows Server and also integrated with Microsoft Azure. It allows accessing the environment. On the backend, PowerShell is used by many tools of the Admin Center on the backend to accomplish tasks.