Get-ChildItem | select fullname | Out-File temp.txt $file = Get-Content "temp.txt" foreach ($pro in $file) { Write-Host $pro }
Powershell foreach
原创bard_zhang 博主文章分类:PowerShell ©著作权
文章标签 powershell foreach 文章分类 服务器

-
powershell@foreach@foreach-object@continue的行为
这一点区别将会在使用continue的时候显现出来。
microsoft PowerShell 基本语法 -
PowerShell 学习笔记——初识PowerShell
PowerShell 学习笔记
Shell Power -
Powershell: powershell 整理桌面文件
powershell 整理桌面文件
powershell 整理 移动 桌面