Powershell查找替换文本文件

清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>>

    Get-Content C:\File1.xml | Foreach-Object {$_ -replace "xmlns:xsi=\"http:\/\/www\.w3\.org\/2001\/XMLSchema-instance\"", ""} | Set-Content C:\File1.xml