【发布时间】:2021-03-26 09:14:04
【问题描述】:
【问题讨论】:
-
请不要将代码添加为图像。取而代之的是edit您的问题并将代码插入为formatted text。
标签: powershell
【问题讨论】:
标签: powershell
你可以做类似的事情 -
$file = Get-Content -Path "D:\test.txt"
foreach ($line in $file){
//Run the command
}
【讨论】: