Get-ChildItem .\Projects\VC2015\ *.vcxproj -recurse |
Foreach-Object {
$c = ($_ | Get-Content)
$c = $c -replace 'MultiThreaded<','MultiThreadedDLL<'
$c = $c -replace '8.1','10'
$c = $c -replace 'v140','v142'
[IO.File]::WriteAllText($_.FullName, ($c -join "`r`n"))
}