Winshell command for Win7 system

  
Although the command prompt is not used frequently, it plays an important role in system and network management and maintenance. In Microsoft's latest windows7 system, we also brought us an upgraded version of cmd windows powershell, with which computer users can manage the system more efficiently. What exactly is Windows PowerShell, and what can it do? Let's learn it together.
windows powerShell introduction
windows powerShell is Microsoft's shell and scripting language technology for Windows system. Its appearance also makes up for the lack of windows in the shell compared with Unix system, and also provides program developers. A more efficient tool for writing scripts. PowerShell V2 has been integrated in windows7 and supports graphical interface operations.
To start windows powerShell in Windows 7 system is very simple, click on the "Start" button to enter PowerShell in the search bar at the bottom, select windows powerShell in the search results to enter the command line mode interface, select Windows powerShell V2 ISE can enter the graphics window mode of windows powerShell. In addition, you can also enter PowerShell in the traditional CMD window and then press Back to run PowerShell.
PowerSHell Getting Started
PowerShell is very strange to many users, compared to traditional command-line tools. What commands does PowerShell support? In fact, PowerShell can manage system processes, services, registry, system logs, and even certificates. To find out which commands it supports, just type get-command in the window and press back to draw. All the commands supported by PowerShell will be displayed on the screen.
In addition to the type of command that can be displayed, the name and description are also displayed. To see the detailed usage of a command, you can use the get-helt command to get help. For example, to view the details of the add-content command, you can type get-help add-content and press Enter to display the command. Name, abstract, grammar, detailed description, related links, and notes. To get a deeper understanding of powerShell, you need to get help often. PowerShell Applications
PowerShell makes it easy to view and end processes within the system, so you can not only monitor suspicious processes within your system, but also easily turn them off. To view the processes in the current system, you need to open PowerShell, enter get-process and press Enter, so that the process handle, process name, process occupied processor time and process unique identifier will be displayed.
If you want to end one or more processes, you need to record the unique identifier of the process. After entering Stop-process in powerShell, enter the ID of one or more processes according to the prompt. Press Enter to process. It is automatically ended.
Use a quick start program
For some commonly used commands, powershell also supports setting it as an alias. For example, if you need to set the get-process, you can enter set-alias gp get-process in powershell, where gp is the command get-process. You can use the gp instead of the get-process command after pressing Enter.
Similarly, many built-in tools can also set aliases in powershell. For example, you can start notepad after typing notepad in powershell. To start Notepad faster, you can set an alias for it, type set-alias np notepad and press Enter, so you can open Notepad by typing np again.
PowerShell also has management system services, operating the registry and numerous network-related operations. Interested friends may wish to log on to Microsoft's official website to get more information about powerShell.
Copyright © Windows knowledge All Rights Reserved