title: Setting IIS config via appcmd.exe for Load User Profile
body: <p>I am attempting to set the config setting for 'Load User Profile' to true via a powershell script using appcmd.exe.  After reading through many documents I cannot figure out the correct syntax.</p>
  
  <p>The app pool's name is like 'accountsmanagement.example.com'  I have tried variations on the following but all error out:</p>
  
  <pre><code>c:\Windows\system32\inetsrv\appcmd.exe set config -section:applicationPools /accountsmanagement.example.com.processModel.loadUserProfile:true
  </code></pre>
  
  <p>How do I correctly set the Load User Profile to true via appcmd.exe?</p>