title: Enabling impersonation and use Powershell as admin role
body: <p>I am making an application that uses the EWS API, this application accesses different accounts, and in order to do that I have to use the impersonation. I have tried the impersonation ... but the problem I receive the error that I do not have permissions for impersonations. So I tried to modify the exchange server to add the ability to impersonate, but when I tried to follow some commands like which are given by MSDN </p>
  
  <pre><code>New-ManagementRoleAssignment -Name &lt;impersonationAssigmentName&gt; -Role applicationImpersonation -User &lt;serviceAccount&gt;
  </code></pre>
  
  <p>but I get this error </p>
  
  <pre><code>The term 'New-ManagementRoleAssignment' is not recognized as the name of a cmdlet, function, script file, or operable
  </code></pre>
  
  <p>According to my friend that this might be the problem of not using the exchange server using the Admin, but I am logging to the windows serving using the admin account. 
  Honestly I am totally new to Exchange Server, this I need to solve this admin thing hopefully it will solve my problem . </p>
  
  <p>Regards  </p>