pwsh sed
$config="a:/etc/data.xml"
$fromString='<property="suggesterConfig">'
$toString = '<property="suggesterConfig"> <void property="oknow"> <boolean>false</boolean> </void>'
(Get-Content $config).replace($fromString, $toString) | Set-Content $config
(Get-Content -path .\DEPS -Raw) -replace "'checkout_samples': True", "'checkout_samples': False" | Set-Content -path .\DEPS