title: Using Powershell to test-path on a network drive
body: <p>I can't get the Test-Path cmdlet to find a folder on a remote system's additional drive.</p>
  
  <p>The following works for the system drive.</p>
  
  <pre><code>Test-Path -PATH '\\ServerName\C$\FolderName'
  </code></pre>
  
  <p>The next example always returns false.</p>
  
  <pre><code>Test-Path -PATH '\\ServerName\D$\FolderName'
  </code></pre>
  
  <p>I have verified the path and its spelling. Test-Path will find the path if I remote to the computer and run</p>
  
  <pre><code>Test-Path -PATH 'D:\FolderName'
  </code></pre>
  
  <p>I must be missing something. Will someone please enlighten me? </p>