title: Modify the contents of a file in powershell
body: <p>I have a situation where I need to modify the contents of a file using PowerShell.  The string already there will be similar to <code>ToolsVersion="3.5"</code>.  However I can not be positive that <code>"3.5"</code> will always be what is inside the quotes.  I need to change the value inside the quotes to <code>"12.0"</code>.  Is there a way to find the <code>"ToolsVersion="</code> in the file, then modify the value inside the quotes that follows it?</p>