powershell 使用笔记

近年来, powershell 得到了许多cloud/硬件厂商的设备支持, 且具备了跨平台的特性(win/linux), 是时候替换批处理脚本了.

版本: powershell > 7

 

windows terminal:

https://docs.microsoft.com/en-us/windows/terminal/

 

powershell-cmdlet 命令

#列出可用的cmdlet命令
Get-Command

 

脚本执行权限配置:

https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_execution_policies?view=powershell-7.1&viewFallbackFrom=powershell-6#change-your-execution-policy

 

环境变量配置:

https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_environment_variables?view=powershell-7

 

how-to-grep-in-powershell

https://www.adamfowlerit.com/2017/02/how-to-grep-in-powershell/

 

powershell-equivalent-cmdlets-for-ipconfig-ping-and-nslookup

https://www.nextofwindows.com/powershell-equivalent-cmdlets-for-ipconfig-ping-and-nslookup

 

posted @ 2020-12-27 18:07  awr2sdgae  阅读(90)  评论(0)    收藏  举报