title: I want to use powershell to map a network hard disk on a remote machine
body: <p>I was thinking I could do something like this:</p>
  
  <blockquote>
    <p>psexec \\func2_web1 New-PSDrive -Name x -PSProvider FileSystem -Root
    \\argento\drops -Persist</p>
  </blockquote>
  
  <p>But that fails and comes back with this message:</p>
  
  <blockquote>
    <p>PsExec v1.98 - Execute processes remotely Copyright (C) 2001-2010 Mark
    Russinovich Sysinternals - www.sysinternals.com</p>
    
    <p>PsExec could not start New-PSDrive on func2_web1:</p>
  </blockquote>
  
  <p>I have enabled PSRemoting on func2_web1 (and I can run other psexec commands against that machine just fine).</p>
  
  <p>Does anyone know how I can map a hard disk on a remote machine?</p>
  
  <p>Thanks</p>