PowerShell do While循环语句示例

2023-05-16,,

$response = ""
do
{
$response = Read-Host "type something"
}
while ($response -ne "quit")
<#
type something: aaa
type something: bbb
type something: ccc
type something: quit
#>

您也可以关注下方微信公众号获取更多内容

《PowerShell do While循环语句示例.doc》

下载本文的Word格式文档,以方便收藏与打印。