Home  >  Article  >  Operation and Maintenance  >  Comprehensive collection of PowerShell commands (detailed explanations with pictures and texts)

Comprehensive collection of PowerShell commands (detailed explanations with pictures and texts)

烟雨青岚
烟雨青岚forward
2020-07-03 11:53:2040807browse

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

Comprehensive collection of PowerShell commands (detailed explanations with pictures and texts)

Startup method

Win10 system can be entered in the Cortana search box PowerShell can be opened

Comprehensive collection of PowerShell commands (detailed explanations with pictures and texts)

Win7/8.1 system can use the Win Q key combination to open the search, then enter PowerShell and select the following prompt items

Comprehensive collection of PowerShell commands (detailed explanations with pictures and texts)

General method: Win R key combination to open the run command, enter PowerShell and press Enter to open it

Comprehensive collection of PowerShell commands (detailed explanations with pictures and texts)

Switch from cmd to PowerShell: You can enter PowerShell in the command prompt to switch to Windows PowerShell

Comprehensive collection of PowerShell commands (detailed explanations with pictures and texts)

Switch from PowerShell to cmd: Enter cmd in PowerShell Switch back to cmd

Comprehensive collection of PowerShell commands (detailed explanations with pictures and texts)

Brief introduction

Get all commands: get-command

Comprehensive collection of PowerShell commands (detailed explanations with pictures and texts)

Get all processes: get-process

Comprehensive collection of PowerShell commands (detailed explanations with pictures and texts)

Rename the specified command: Set- Alias, such as Set-Alias ​​aaa Get-Command

Comprehensive collection of PowerShell commands (detailed explanations with pictures and texts)

is the same as cmd, cls is the clear screen command

Comprehensive collection of PowerShell commands (detailed explanations with pictures and texts)

Help command: help, the homepage is not fully displayed, you can press Enter after --More-- to view the remaining help information

Comprehensive collection of PowerShell commands (detailed explanations with pictures and texts)

##Reference: https://www.yuque.com/docs/share/f7bb056b-e1ef-425d-8ff8-585938b27290

Thank you for reading, I hope you will benefit a lot.

This article is reproduced from: https://blog.csdn.net/lengyuezuixue/article/details/80973873

Recommended tutorial:

windows 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!

Statement:
This article is reproduced at:csdn.net. If there is any infringement, please contact admin@php.cn delete