title: windows 7 powershell cannot find dsquery and dsget
body: <p>I tried to run</p>
  
  <pre><code>dsquery group -samid "Development Environment" | dsget group -members -expand &gt; C:\dev.txt
  </code></pre>
  
  <p>and I had this:</p>
  
  <pre><code>The term 'dsquery' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spe
  lling of the name, or if a path was included, verify that the path is correct and try again.
  At line:1 char:8
  + dsquery &lt;&lt;&lt;&lt;
      + CategoryInfo          : ObjectNotFound: (dsquery:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
  </code></pre>
  
  <p>I already installed <strong>Windows Remote Server Administration Tools for Windows 7 with Service Pack 1</strong>. But it is still not working for me.</p>
  
  <p>Please help.</p>
  
  <p><img src="https://i.stack.imgur.com/n8LKt.png" alt="The only one cannot be installed"></p>
  
  <p>The Active Directory Administrative Center failed to be installed.</p>
  
  <p><img src="https://i.stack.imgur.com/8FKAE.png" alt="This is the error message"></p>