Given this XML:
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build">
<PropertyGroup>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
</PropertyGroup>
</Project>
I would like to change the "v.4.6.1" by "v4.7.1" using PowerShell.
Currently, I load the XML above with this:
$content = [xml](Get-Content $path.FullName)