How to change AuthenticationLevel attribute from Win32_DCOMApplicationSetting class using powershell?
<p>I'm trying to change the AuthenticationLevel attribute from Win32_DCOMApplicationSetting using the following poweshell code:</p>

<pre><code>$wmi = Get-WMIObject -Class Win32_DCOMApplicationSetting -Filter "AppID='{00020906-0000-0000-C000-000000000046}'" -EnableAllPrivileges
$wmi.AuthenticationLevel = 1
</code></pre>

<p>The script runs without errors, but the change isn't applyed in DCOM configurations.</p>

<p>I appreciate any help.</p>