Get the App
SLTechnology News&Howtos  ›  Servers  › 

Why learn PowerShell--PowerShell for three minutes (1)

Shulou Source: shulou.com Published: 2022-06-02 12:39:32 09月14日 Update

First of all, there is the question of what PowerShell is, um ~ to quote an official definition:

Built on .NET Framework, PowerShell is a task-based command-line Shell scripting language designed specifically for system administrators and advanced users to quickly automate the management of multiple operating systems (Linux, macOS, Unix, and Windows) and application-related processes running on those operating systems.

So, let's take it as an advanced command line Shell for a while.

If you have come into contact with versions of Exchange2007 or above, you should be familiar with PowerShell: this is also the earliest scene of PowerShell.

After a brief introduction to what PowerShell is, then focus on why you want to learn PowerShell:

We all know that it is very easy to find the content you need under GUI, and it is easy to operate, and you can use it almost without learning, which is also the advantage of Windows, but with the growth of applications and personnel, GUI operation can not meet the needs of large-scale operation and maintenance, such as the need to modify the company names of 100 active directory users. If you are facing or are about to face such maintenance problems. Then PowerShell is your best choice.

Of course, Microsoft has also launched bat and vbs before, but the problem is that Microsoft does not support it wholeheartedly, such as modifying the IP address through vbs, which is no problem, but if you want to check the network connection speed, it is impossible to do so.

Microsoft's positioning of PowerShell is to fully manage Windows through the Shell. Although Microsoft is still developing the GUI console, the underlying implementation is PowerShell. If you need to automate a repetitive task or complete a task that GUI does not support, then you can use PowerShell to achieve what you want.

Many products currently adopt this approach, such as Exchange,SharePoint,SystemCenter, and even some Windows functions can only be managed through PowerShell

It is no exaggeration to say that there are two kinds of Windows engineers in the future, one is PowerShell, the other is not.

So, IT who want or are about to or are doing Windows, learn from PowerShell.

Tags: Microsoft management learning systems problems advanced operating systems tasks commands ongoing users applications support automation superficial unfamiliar dedicated people advantages functions Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn Apple macOS Docker Huawei