How To Start Powershell

Table of contents:

How To Start Powershell
How To Start Powershell

Video: How To Start Powershell

Video: How To Start Powershell
Video: Microsoft PowerShell for Beginners - Video 1 Learn PowerShell 2024, December
Anonim

Windows Powershell (formerly Monad) is a Windows Server management tool released by Microsoft. Powershell scripts can be created using any text editor that runs within the shell. To start Powershell, see the instructions.

How to start Powershell
How to start Powershell

Instructions

Step 1

Open the main Powershell command page. The link to the page is https://www.microsoft.com/ windowsserver2003 / technologies / management / powershell / default.mspx. It contains introductory information and links to important Powershell resources.

Step 2

Download Powershell from https://www.microsoft.com/downloads/ details.aspx? FamilyId = 2B0BBFCD-0797-4083-A817-5E6A054A85C9 and then install it.

Step 3

Download the Powershell documentation package, which includes tutorials: Script Tracing, Getting Started Guide, and Powershell User Guide. You can download the documentation package at https://www.microsoft.com/downloads/ details.aspx? FamilyId = B4720B00-9A66-430FBD56-EC48BFCA154F.

Step 4

With Powershell installed and the documentation package downloaded, start launching the command shell, which is used to execute Powershell commands and scripts. Click the left mouse button on the "Start" menu -> "All Programs" and select the item called Windows Powershell.

Step 5

If you are not familiar with Powershell commands yet, the Help command will help you:

PS C: / temp> get-help.

Step 6

Most of the commands have new names, but the names of some of them are probably familiar to you: cd, ps, dir, copy, kill, type, ren, mount, echo.

Step 7

Powershell commands are collectively called cmdlets. They provide performance of all kinds of actions with the system, from navigation to access to resources. All commands are executed from the Powershell command line or within a script. To see a list of all available commands, enter the following command:

PS C: / temp> get-command.

Step 8

The last thing I want to talk about is the command parameters. Most of them provide the ability to specify parameters that define the functionality of the cmdlets. Any command parameter must be preceded by a dash. To view the parameters of a specific command, you need to enter it and put the “-?” Symbol at the end. Consider the get-psdrive command: to see a list of the available options for this command, enter the following:

PS C: / temp> get-psdrive - ?.

Recommended: