The command prompt is not used frequently, but it plays an important role in system and network management and maintenance. In Microsoft's latest Windows 7 system, we also brought an upgraded version of Windows Powershell for cmd. With it, computer users can manage the system more efficiently. What exactly is Windows PowerShell, and what can it do? Let's learn 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 the Unix system. It also provides a more efficient scripting tool for programmers. PowerShell V2 has been integrated in windows7 and supports graphical interface operations.
To start windows powerShell in windows 7 system is very simple, click the "Start" button and enter PowerShell in the search bar at the bottom, select windows powerShell in the search results to enter the command line mode interface. After selecting windows powerShell V2 ISE, you 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 displaying the type of command, the name and description are also displayed here. 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 shut them down. 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, enter the Stop-process in powerShell and enter the ID of one or more processes according to the prompt, press Enter The process can be 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. I will not introduce them here. Interested friends may log on to Microsoft's official website to get more information about powerShell.
The Telnet service is often used in remote server management or network management. In Windows XP sy
Usually in the use of the system, we often use some shortcut keys to switch windows, Xiaobian here t
Compared with other versions of Windows, although the stability of Win7 system is
Tencent QQ has been updated to the 2011 version. In previous versions (including unofficial), there
Some common misunderstandings and confusions used by Windows 7
Windows 7 undo is very simple. Use Ctrl+Z shortcuts for a lifetime
4G memory is used in 32-bit win 7 system
How to do garbled Win7 solve Win7 garbled problem method
How to replace the Windows 7 login interface text and button style?
Win7 start menu search box is missing how to find back
WIN7 system laptop power saving Raiders
Windows hypervisor command to run a large inventory (1)
Win7 taskbar window merge modification tutorial
Windows 7 wants to save applications that Vista can't run
77 tips for users who use Windows 7 (2)
Detailed description of the 10 major Win7 services that can not be closed (2)
How to open the "emergency restart" win8 system win8 system to open the "emergency restart" method
Win8 key can not be upgraded to the solution
Win7 system copy file prompt "Error 0X80070057: Parameter error" How to solve
Add translation function to the browser.
Detailed steps for installing the audio output device
Win8.1 system in the run window input gpedit.msc can not open the group policy how to solve?
Computer hard disk private file encryption method and hidden skills (3)
WinXP folder window in the upper left corner of the back button click does not respond how to solve?
Win8 system QQ pop-up message video sound becomes smaller how to solve