I have an XML file. I need to replace the language with Swedish.
<?xml version="1.0" encoding="utf-8"?>
<usersettings>
<Language type="string">English</Language>
</usersettings>
Can you help me?
$xmldata = [xml] (Get-Content $file)
$xmldata.usersettings.Language.'#text'