Home >Operation and Maintenance >Windows Operation and Maintenance >What does Windows PowerShell mean?
What does Windows PowerShell mean
Windows PowerShell is a command line shell and scripting environment that enables command line users and script writers Take advantage of the power of the .NET Framework. It introduces many useful new concepts that further expand the knowledge you gain and the scripts you create in the Windows Command Prompt and Windows Script Host environments.
Windows PowerShell v3 will be released with Microsoft Hyper-V3.0 and Windows Server 2012. PowerShell v3 is a Windows task automation framework that consists of a command line shell and a programming language built into the .NET framework.
PowerShell v3 uses new cmdlets to allow administrators to penetrate deeper into system processes. These processes can be made into executable files or scripts. A cmdlet is a lightweight command that the Windows PowerShell runtime calls in the context of an automation script. Cmdlets include Get-Location to display the current directory, Get-Content to access file content, and Stop-Process to end the running process.
PowerShell v3 loads Windows Management Framework 3.0 in Windows Server 8. The PowerShell runtime can also be embedded into other applications.
The difference between Windows PowerShell and Cmd
There is nothing impossible, only unexpected. You can even use PowerShell to load a dll written in C/C, and then execute the code inside, not to mention COM.
I'm off topic. The question asked is different. I think the biggest difference between PowerShell and cmd, and also the biggest difference from other *nix Shells, is that PowerShell's pipe passes .net objects instead of raw strings. So this opens a magical door, because all components of PowerShell can coexist harmoniously. There is no need to doubt each other, no need to guess whether the data you feed me is legal, and no need to worry about the format of the parameters I feed you. wrong. Everyone shares a CLR with rich metadata, allowing you to roam and explore the .net world freely.
Recommended tutorial: "PHP Tutorial"
The above is the detailed content of What does Windows PowerShell mean?. For more information, please follow other related articles on the PHP Chinese website!