标签:语句 while quit pow rsh 示例 blog cto ons
$response = ""
do
{
$response = Read-Host "type something"
}
while ($response -ne "quit")
<#
type something: aaa
type something: bbb
type something: ccc
type something: quit
#>
您也可以关注下方微信公众号获取更多内容
标签:语句 while quit pow rsh 示例 blog cto ons
原文地址:https://blog.51cto.com/543925535/2368093