System maintenance, management, often in the command prompt (cmd.exe) operation, there is little contact or use of Windows PowerShell. In fact, in Microsoft's plan, Windows PowerShell will become the successor of CDM, the next generation of command line tools. Windows PowerShell is currently up to version 2.0 and is already integrated into Windows Server 2008 and Windows 7. Windows PowerShell makes it easier for IT administrators to control system management and accelerate automation as a system administrator should master and use it. I started learning Windows PowerShell because of my work. Here are a few very useful examples of Windows PowerShell applications.
1, Windows PowerShell installation
Windows PowerShell has been integrated in Windows Server 2008, but it is not installed by default, you can install it in the service manager without online download. For Windows 7 user systems, Windows PowerShell 2.0 has been installed by default, and it can be used directly. For other versions of Windows users, you can download the Microsoft website http://www.microsoft.com/downloads/details.aspx?FamilyID=60deac2b-975b-41e6-9fa0-c2fd6aa6bc89&DisplayLang=en.
2, use Windows PowerShell help
Windows PowerShell is a new command and script specification, beginners will have a certain strangeness is not easy to get started. In fact, using Windows PowerShell help can help you understand its command specifications as soon as possible.
Running Windows PowerShell, typing and executing "get-command" returns information about the 129 commands provided by Windows PowerShell, including management services, processes, event logs, certificates, registry, and using Windows Management. Every aspect of system management such as Instrumentation (WMI). If you want to get help information for one of the commands, for example, if we want to get help with the "get-command" command, you can execute the command "get-help get-command" to get help for other commands. (Figure 1)
Figure 1 Windows Powershell
In addition, provide a few practical tips for everyone. If there is more help information for the command, the available channel symbol "|
"Perform a split screen display, such as "get-command |
More" will display all the assemblies of Windows PowerShell on a screen-by-screen. "get-help get-service -full" will display detailed help for the get-service assembly (including examples). "get-help get-service –parameter *" will list all the parameters and parameter descriptions of the Get-Service assembly. "help get-service -parameter *" will behave the same as the previous command, but will be displayed on a screen-by-screen basis. Sometimes we need to use wildcards based on the need. The wildcards in Windows PowerShell are different from CMD. You can execute the command "get-help about_wildcard" to get help information for wildcards. (Figure 2)
Figure 2 Windows Powershell
Previous 12 3 4 Next Read Full Story
Before introducing Server Manager, lets take a look at what a role is. A role is a single, very targ
Server Core is the new minimum server installation option in Windows Server 2008 that provides the m
We have heard a lot about the desktop version of Windows 7 news, the latest news is that Microsoft s
Window2008 64-bit system has no office component problem analysis and solution
Windows Storage Server 2008 (x64)BT Download
What you don't know about Windows 7 Enterprise Features
Deeply open the Windows Server 2008 system mystery fog
Understand the reasons and solutions for Service Unavailable
Windows Server 2008 Network Neighborhood Open Slow Solution
How to install Hyper-V under Windows Server 2008 Core
Causes and failures of win2008 500 internal error can not show detailed errors
Flexible setting of Windows Server 2008 to deal with system management puzzles
Basic Configuration of Windows Server Core Network
Win2008 R2 and SP1 PS2 can not install the operating system patch solution
What is the role of the HPC cluster under win2008 What is the role of the
Win8 Super Button Super Experience
How to set standby password in Win10
WinXP disk fragment cleanup function you have not known
Look at the three program limitations of the Windows 7 Starter version
The top ten softwares of Win8 Fan,
The problem of booting can not enter the desktop
Windows 7 has a capacity limitation
Linux SVN tool command summary