Ⅰ. Why learn about PowerShell?
1.PowerShell Introduction
Microsoft GUI graphical interface, with its graceful interface, simple visual operation, configuration service only a few mouse to complete, encountered do not know the operation can see the icon, instructions to operate, very simple and easy to use.
Why, then, should we learn about PowerShell?
If you create a domain user as an example, it takes 5 minutes to create a domain user under the GUI interface, because there are a bunch of properties that need to be added, it takes 500 minutes to create 100 users. There is no way to improve the speed at which users are created.
Early VBScript was able to create scripts to solve some problems, but because Microsoft did not devote all of its heart to VBScript, the product had many shortcomings. For example: You can use a script network configuration, want to test the speed of the network, you need to find another way.
The emergence of PowerShell fills the void, not only the functionality of the complete management system, but also the automation of repetitive tasks and the work not supported under the GUI. PS also supports a large number of components, such as Exchange, SharePoint, Systemcenter, and so on.
Microsoft is still developing the GUI console, which is still a PowerShell command at the bottom.
Installation of 2.PowerShell
Basically, people are using more than WINDOWS7 systems, and have their own PowerShell tools in the system.
PowerShell has 2 programs in a 32-bit system:
- PowerShell and PowerShell ISE
PowerShell has 4 programs in a 64-bit system:
- PowerShell (86) and PowerShell ISE (86).
- PowerShell and PowerShell ISE, both of which are programs at 64.
PowerShell and PowerShell Ise differ.
- PowerShell command-line interface for using and executing PowerShell commands. can also be used in Servercore.
- PowerShell Ise can use the IDE in a graphical interface to query commands and edit scripts that are not integrated into Servercore.
To view the version of PowerShell in your Windows system, click Start Menu-All attachments-click PowerShell.
Input: $PSversionTable View the PowerShell version, if you can find it, the version is more than 3.0. If not found, the version is less than 3.0.
Upgrade is recommended, you can download the PowerShell program directly to install, do not need to consider the version number in order to install.
https://www.microsoft.com/en-us/download/details.aspx?id=34595
https://www.microsoft.com/en-us/download/details.aspx?id=40855
PowerShell must use the. net.framework4.0, if you consider compatibility and extensibility, do the. net.framework3.5 and. net.framework4.5 are installed.
POWERSHELL32 and 64-bit differences: Microsoft is increasingly focusing on 64-bit systems, and 32-bit is just a requirement for compatibility and expansion.
1. Why learn PowerShell?