Introduction to Windows powershell
For everyone, CMD is very familiar. The term "command" evolved from the DOS era has been accompanied by the growth of OS since Win2000 to 2003. Today, Ms introduces powershell again. What is this?
As you are familiar with Windows: cmd.exe and shell: Sh, KSh, CSH, and bash in UNIX. Powershell is also a shell. It is a completely new. Net-based shell, not a cmd upgrade. His new name is the cmdlet and the prompt is ps.
Currently, powershell has three platform versions: i386, x64, and IA64. Please note that even if your hardware is AMD's x64 CPU, if the OS is installed with 32 bits, you still need to install the i386 version.
The cmdlet mainly names various commands in the form of verbs and nouns. Commonly Used Commands include get-command and get-help.
Get-command can list all the commands of the cmdlet. Get-help can view detailed help information of the cmdlet. Powershell fully supports various scripts. Just like you write a previous BAT file, you can save the script written in the cmdlet as a file with the extension of PS1, and then powershell script1.ps1 can be run.