powershell-命令循环

while ($true) { Clear-Host; ipconfig; Start-Sleep -Seconds 3 }

死循环
清屏
执行命令
睡眠

posted @ 2025-05-06 09:57  东岸  阅读(12)  评论(0)    收藏  举报