What is PowerShell?
Microsoft PowerShell is a powerful tool that helps users to automate tasks on computer. Here are the key points about it:
- Command-line Shell and Scripting Language: helps write scripts (a series of commands) to automate repetitive tasks.
- Configuration Management: helps manage and configure systems efficiently.
- Cross-Platform: works on Windows, Linux, and macOS.
Where to find PowerShell?
On Windows, there are two different pieces of software called PowerShell: Windows PowerShell and Windows PowerShell ISE.
Here are the main differences between the two:
Windows PowerShell
It has a command-line interface (CLI), and you can type commands directly into a text-based interface. It’s ideal for running single-line commands and simple scripts, and it’s good for simple tasks and quick command execution.

Windows PowerShell ISE (Integrated Scripting Environment)
It has a graphical user interface (GUI) that provides a more user-friendly interface with menus and toolbars. This software is designed for creating, running, and debugging more complex scripts.

PowerShell ISE is easier to use and more suitable for developing and debugging scripts. I recommend that you use it to write and run scripts for SharePoint.
How to make it ready for SharePoint?
Each time you open PowerShell ISE, you must run the following command. It is necessary because it loads the SharePoint-related cmdlets into the PowerShell session, and makes them available for use and execution.
Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue
Paste this command into the white area and press the “Run Script” button on the menu or press F5.
