首页 > 代码库 > foreach -begin -process -end

foreach -begin -process -end

gc d:\vm.txt|foreach  -begin {write-host "It‘s beginning."}  -process {$_ +"aa"} -end {write-host "The end"}