POWERSHELL 一键更改

POWERSHELL 一键更改## 标题POWERSHELL 一键更

POWERSHELL 一键更改## 标题POWERSHELL 一键更

$files = get-child path -recurse -Include *.kuozhanming
foreach ($file  in $files){
	$content = get-content $file.pspath
	clear-content $file.pspath
	foreach($line in $content){
	$liner = $line.replace("modify befor","modify after")
	Add-content $file.pspath -value $liner
}
}

`

你可能感兴趣的:(笔记,powershell)