replace a version number
# replace versionnumber="xxx" whith versionnumber="yyy" (gc C:\temp\config.xml) -replace '(newversion=)".*"' ,'$1"yyy"' # if you want to save the file add |sc c:\temp\config.xml