How Do I Run PowerShell?

On every Windows Server running a variation of Windows Server 2008 or higher, PowerShell is installed and can be used for administration purposes. By default, the PowerShell application appears in the Windows taskbar. Right-clicking the application button displays available menu options, as shown in Figure 1.1.

Image

Figure 1.1. The PowerShell application button provides a menu of options.

Selecting Import System Modules launches PowerShell and loads all modules from all services and server applications running on the current server. This is useful when scripting code for more than one set of services (such as SharePoint and SQL Server).

Selecting the Windows PowerShell ISE launches a pseudo-development environment in which you can create, execute, test, and debug PowerShell scripts. It is a glorified text editor but is helpful in creating and running scripts.


Note

Although PowerShell is automatically installed using Windows Server 2008 R2 and above, the ISE may or may not be activated depending on other server product installations. If it appears that the PowerShell ISE is not installed on the server, you must activate it as a server feature.


Selecting the Windows PowerShell menu item launches PowerShell in plain vanilla form (no additional modules or support for server applications—including SharePoint—are loaded). If you are not logged on as an administrator, select the Run As Administrator menu item to launch PowerShell with administrative privileges.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.142.98.108