Home > Article > Operation and Maintenance > Comprehensive collection of PowerShell commands (detailed explanations with pictures and texts)
Windows PowerShell is a command-line shell and scripting environment that allows command-line users and scripters to take advantage of the power of the .NET Framework. This article will introduce its opening method and commonly used commands
Startup method
Win10 system can be entered in the Cortana search box PowerShell can be opened
Win7/8.1 system can use the Win Q key combination to open the search, then enter PowerShell and select the following prompt items
General method: Win R key combination to open the run command, enter PowerShell and press Enter to open it
Switch from cmd to PowerShell: You can enter PowerShell in the command prompt to switch to Windows PowerShell
Switch from PowerShell to cmd: Enter cmd in PowerShell Switch back to cmd
Brief introduction
Get all commands: get-command
Get all processes: get-process
Rename the specified command: Set- Alias, such as Set-Alias aaa Get-Command
is the same as cmd, cls is the clear screen command
Help command: help, the homepage is not fully displayed, you can press Enter after --More-- to view the remaining help information
##Reference: https://www.yuque.com/docs/share/f7bb056b-e1ef-425d-8ff8-585938b27290Thank you for reading, I hope you will benefit a lot. This article is reproduced from: https://blog.csdn.net/lengyuezuixue/article/details/80973873Recommended tutorial:
The above is the detailed content of Comprehensive collection of PowerShell commands (detailed explanations with pictures and texts). For more information, please follow other related articles on the PHP Chinese website!