您的位置:首页 > 运维架构 > Shell

powershell

2016-01-13 15:01 295 查看
Get-Process 显示所有正在运行的进程
Sort-Object 排序
-property 显示属性
$env:Path 环境变量
$env:path += ";C:\programs\Windows NT\accessories"
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: 环境变量
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: