摘要:
例子如下:$ErrorActionPreference="Stop"function getlist{ ls D:\tmp2|select name,extension,fullname|export-csv -encoding oem list.csv}function do_continue{ $xx=0 while( $xx -lt 10){ $xx++ if($xx -eq 5){ continue } write-host $xx }}function do_break{ ... 阅读全文