junjie 通过本文主要向大家介绍了powershell 转义,powershell是什么,powershell是什么意思,powershell,windows powershell等相关知识,希望对您有所帮助,也希望大家支持linkedu.com www.linkedu.com
PowerShell中转义字符是`,向后撇号(backward apostrophe,是tab键上面的按键,不是单引号),例如:
Write-Host `$env:processor_architecture=$env:processor_architecture
</div>
会输出$env:processor_architecture=AMD64
当然还有一个转义字符是在正则表达式(Regular Expression)中使用的\,斜线。
</div>
