powershell

Get-Process 显示所有正在运行的进程
Sort-Object 排序
-property 显示属性
$env:Path 环境变量
$env:path += ";C:programsWindows NTaccessories"
Get-Command -commandType cmdlet  获取所有cmdlet命令
get-process | convertto-html | out-file test.html
Dir variable:
Dir variable:value*
Dir variable: -include value* -exclude *1*
Verify Whether a Variable Exists: Test-Path variable:value1
dir env: 环境变量
原文地址:https://www.cnblogs.com/javametro/p/5127333.html