title: Displays the date of account expiration - Windows Server 2003
body: <p>I'm using following command:</p>
  
  <pre><code>dsquery user -limit 0 | dsget user -display  –samid –acctexpires –disabled 
  </code></pre>
  
  <p>But I get this message</p>
  
  <blockquote>
    <p>Value for 'Target object for this command' has incorrect format</p>
  </blockquote>
  
  <p>What is the correct syntax?</p>