 Hello everybody! In today's video, we will discuss Windows PowerShell to find out what is that, why we needed it, what are its main functions and commands, and we will also explore writing and running some simple scripts. You can find PowerShell by right-clicking on the Start button, and there are two options to start it. Windows PowerShell was first introduced as an integrated component of Windows 7. Besides, the second option, Run PowerShell as Administrator, was available for earlier versions of the operating system, such as Windows XP, Windows Vista and Windows Server, since 2003. Most likely, this tool will be of little value for ordinary users, but it can be very helpful for system administrators. We created this video for beginners to cover basic stuff to know about PowerShell, so power users may not learn anything new today. So let's begin. Hello friends! If you need to recover deleted data, view or restore remote browsing history. Hetman Software products will help you. Follow the link in the description, download the necessary program for free, install it and analyze the disk. The utility will show you the data you can recover, so you will be able to view it or get it back. In our channel and blog, you will find solutions to any problem, from installing an operating system or configuring it to fixing possible bugs and errors or optimizing mobile gadgets. Our specialists will answer any questions you ask in your comments under the videos or articles. Let's start by answering two essential questions. What is this tool and why you need it? PowerShell is a modernized and standardized version of the Command Prompt that provides access to a more flexible way to manage your computer and its settings. In fact, it's the same good old Command Prompt but with more functionality to give IT professionals more opportunities to configure operating systems of the Windows family. In other words, it's a versatile administrative tool. This shell gives you convenient access to such controls as COM, WMI and ADSI, and lets you run ordinary Command Prompt commands to create a unified environment where administrators can perform various tasks on local and remote systems. The functionality of this tool is impressive. It can manage services, accounts, file storage devices, processes and even servers. You can work with COM, NET and XML objects, run external commands, create and perform your own scenarios and do a number of other things. PowerShell has its own set of commands, just like CMD console, which are known as Commandlets. The syntax, commandlet definitions and their settings differ from their standard counterparts, and this tool can recognize many CMD commands as well. PowerShell understands commands like CD, Deer, Copy and others. For PowerShell, there are pseudonyms or aliases, which are used for canoines. For example, the command Deer used to view the file system corresponds to the Commandlet GET child item. PowerShell provides both an entirely console type interface and a full-featured development environment, PowerShell ISE, which stands for Integrated Scripting Environment, used to write scripts. To open the command line interface, just type PowerShell in the Run window. You can open this window by pressing the key shortcut Windows plus R. As to PowerShell ISE, you can start it by typing its name in the Run window. ISE gives developers more opportunities with things like syntax coloring, tap completion and other features. A dedicated column lists all possible commands, their description and the search feature. To get acquainted with PowerShell, run the command Help. You will see a brief description and examples of using this tool. Use the command GET command to display all available commands. In PowerShell ISE, all commands are listed on the right and arranged by alphabet and models, and you can search the one you need by name if necessary. When you take a closer look at the information shown after running GET command, you will notice that Windows PowerShell contains aliases, functions and commandlets. Aliases are meant to simplify the process of entering commands. For example, CLC is the alias for the command ClearContent. These commands are lightweight versions of all commands integrated with Windows PowerShell. Here are some main PowerShell commands. CD – navigation through folders The difference between this commandlet and its standard command prompt version is that the commandlet can also navigate the registry. For example, to go to the registry branch HQLocalMachine software, you should type the following. The command GET alias displays the list of all aliases in PowerShell. The pseudonym for this command is GAL. To list all pseudonyms with their prototypes, enter the following command. The GET command is to use to display the list of available commands, and after running Help GET command, you will see a complete description of the command GET command, including its purpose, syntax, options, etc. In another command GETSERVICE, you will see the list of all services running on this computer. To view the list of processes running at the moment, type the command GETPROCESS. The command SETContent, or its pseudonym SC, is used to write values into a file. If the designated target file doesn't exist, this command will create it. The example below illustrates how the value myData is written into a file named newFile.txt. The opposite of SC is the command GETContent, abbreviated as GC. The command GC is used to read contents of a file. For example, the command shown below helps you display the contents of the file newFile.txt. The command GETEventLog lets you extract Windows event logs. Just like with GET process, there is no need to use any additional tools. The example below illustrates extracting 10 latest entries from the event log. Also, Windows Overshore supports auto-completion for any new time. To see this feature at work, type GETP and press the TEM button. You will be able to choose from all commands that begin with these symbols. To receive information on one process only, add its name after GET process. GET process and the process name. The tool contains an impressive list of hundreds of commands. Memorizing all their names and properties is impossible, but it's also unnecessary. Most of them are used very seldom and some are not used at all. Pay attention only to the most important and practical ones, that is, the ones which are most useful. Additionally, you can create your own batch files, looking like files with extension PS1, and containing PowerShell commands and run them. In spite of PowerShell being an integrated element of the Windows operating system, you can't run its scripts by just double-clicking on them. You need to right-click on the script and select Run with PowerShell. To observe security requirements, batch files have to be signed. You can check current settings for this policy by entering the command GETExecutionPolicy. As a result, you will see one of the five possible values. Restricted You can't run scripts, and it's a default setting. All signed You can run scripts signed by a trusted developer, and before running a script, PowerShell will ask you for confirmation. Remote signed You can run your own scripts for those signed by a trusted developer. Unrestricted You can run any scripts. For testing, you can disable the setting to run only signed files. Now, you can run any scripts you like. Scripts to edit the registry, create or remove direct resin files, modify system settings, and so on. A script is basically a set of commands to automate a task which would have to be performed manually otherwise, with the help of the program's interface. For example, the following script writes text to a file. After your PowerShell testing period is over, don't forget to enable the setting to run only signed files again. Type the following command. Summing up, Windows PowerShell can be seen as a simple and user-friendly tool. On the contrary, it's quite difficult to understand, and there is no way to master it in a deal too. Anyway, I hope that this video gave you a certain idea what PowerShell tool is. And that is all for now. Hopefully, this video was useful. Start with the like button and subscribe to our channel. Hit the bell button to receive notifications and never miss new videos. Leave comments to ask questions. Thank you for watching. Good luck.