回答怎样让脚本返回最开始再次执行?


function a{…}
function b{…}
function c{…}
while(1)
{
$answer=read-host “Please enter which function you want to use”
switch($answer){
‘1’{a}
‘2’{b}
‘3’{c}
}
}
 
 

×用微信扫描并分享