title: The term 'Get-ADUser' is not recognized as the name of a cmdlet
body: <p>I have used the following query to list the users in a windows 2008 server, but failed and got the below error.</p>
  
  <pre><code>$server='client-pc-1';$pwd= convertto-securestring 'password$' -asplaintext -
  force;$cred=new-object  -typename System.Management.Automation.PSCredential -argumentlist 'Administrator',$pwd; invoke-command -computername $server -credential 
  $cred -scriptblock {Get-ADUser -Filter (enabled -ne $true)}
  </code></pre>
  
  <p>The exception is given below...Can anyone help me to solve this?</p>
  
  <pre><code>The term 'Get-ADUser' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
  spelling of the name, or if a path was included, verify that the path is correct 
  and try again.
      + CategoryInfo          : ObjectNotFound: (Get-ADUser:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
  </code></pre>