What is PowerShell?

By | 11.12.2018

What is PowerShell?

Many users know about the command line, but very few have heard about Windows PowerShell. In some ways PowerShell is a tool that is intended to replace the command line and provide more powerful capabilities for managing the Windows operating system. In this article we will try to explain the visible, which represents the tool, why it is so powerful and who usually uses it the most.

What is PowerShell?

For a better understanding we first have to understand what the shell. In computer science, a wrapper is called a user interface that provides access to various operating system services. The shell can be command-line or may include a graphical user interface (GUI).

Windows PowerShell is a shell developed by Microsoft for purposes of task automation and configuration management. This powerful shell based on the framework .NET and includes a command-line shell and scripting language.

Что такое PowerShell?

On top of the standard shell command line can also be the Windows PowerShell ISE. Acts as ISE integrated scripting environment is a graphical user interface that allows you to create different scripts without having to type all the commands in the command line.

The first version of PowerShell was released in November 2006 for Windows XP, Windows Server 2003, and Windows Vista. The latest version is 4.0 which was released in October 2013, It comes by default with Windows 8.1 and Windows Server 2012 R2.

What can be done with PowerShell?

Microsoft designed Windows PowerShell as a tool that helps to automate and quickly solve many tedious administrative tasks. For example, you can use PowerShell to see all USB devices installed on one or more computers on the network or you can configure a time-consuming task to run in the background while you do other work. You can also identify and kill processes that do not respond to or filter out specific information on the computers in the network and export it in HTML format.

Possible PowerShell can simplify and automate time consuming and repetitive tasks by creating scripts and combining several commands together.

If you are a network administrator, you will find that PowerShell is very useful when working with Active Directory. Given that the tool contains hundreds of customizable commands, called cmdlets, the probability that PowerShell can help you become more productive, is very high.

How to run PowerShell in Windows 8.1?

If you have no tiles PowerShell on the start screen or a shortcut on the desktop, then you can open it by searching – it is one of the easiest ways. Press + Q, type «powershell,» then press Enter.

You can also open PowerShell in the Apps section on the home screen: go to home screen, move the cursor to the lower left corner, just below the last tile in the first column. Click on the arrow icon pointing down. Then click on the PowerShell icon in the section «Service».

To open PowerShell by using the Run dialog, press + R, type «powershell» and press Enter.

Что такое PowerShell?How to run PowerShell in Windows 7?

In Windows 7 you can find the tool for the keyword «powershell» in the start menu.

Что такое PowerShell?

In addition, to access PowerShell via «start menu» in the section «Standard».

Что такое PowerShell?

It is obvious that the above mentioned command in Run dialog box works in Windows 7.

Who usually uses PowerShell?

Without a doubt, PowerShell is the choice of many it administrators. And no wonder, because the instrument enormously simplifies the control operation and reduces the amount of work in large corporate networks.

Suppose you manage a large network that contains more than five hundred servers and you need to implement a new security solution that depends on any service that needs to run on these servers. Of course, you can connect to each server and see installed and running on them required service. However, in this case your guide is unlikely to be satisfied, because you will need too much time to complete the task.

With PowerShell you can do this job within a few minutes, since the entire operation can be performed with a single script that will gather information about the services running on the specified servers and saves it in a text file, for example.

PowerShell allows you to do much more than can be described in one article, so if you are really interested, we highly recommend you purchase and read one of the many books devoted to the possibilities of this tool.

Добавить комментарий

Ваш e-mail не будет опубликован. Обязательные поля помечены *