title: Powershell can't run mount
body: <p>Trying to mount a NFS share onto a Windows 2012 R2 server and unsure of how to interpret errors being thrown.</p>
  
  <p>Running powershell as admin and entering the commands below...</p>
  
  <pre class="lang-sh prettyprint-override"><code>PS C:\Windows\system32&gt; whoami
  domain\myuser
  
  
  PS C:\Windows\system32&gt; mount -o nolock mapr006:/mapr z:
  New-PSDrive : Parameter cannot be processed because the parameter name 'o' is ambiguous. Possible matches include:
  -OutVariable -OutBuffer.
  At line:1 char:7
  + mount -o nolock mapr006:/mapr z:
  +       ~~
      + CategoryInfo          : InvalidArgument: (:) [New-PSDrive], ParameterBindingException
      + FullyQualifiedErrorId : AmbiguousParameter,Microsoft.PowerShell.Commands.NewPSDriveCommand
  
  
  
  PS C:\Windows\system32&gt; mount mapr006:/mapr z:
  
  cmdlet New-PSDrive at command pipeline position 1
  Supply values for the following parameters:
  Root: mapr006:/mapr
  mount : Cannot find a provider with the name 'z:'.
  At line:1 char:1
  + mount mapr006:/mapr z:
  + ~~~~~~~~~~~~~~~~~~~~~~
      + CategoryInfo          : ObjectNotFound: (z::String) [New-PSDrive], ProviderNotFoundException
      + FullyQualifiedErrorId : ProviderNotFound,Microsoft.PowerShell.Commands.NewPSDriveCommand
  
  
  
  PS C:\Windows\system32&gt; get-alias mount
  
  CommandType     Name                                               ModuleName
  -----------     ----                                               ----------
  Alias           mount -&gt; New-PSDrive
  
  
  
  PS C:\Windows\system32&gt; New-PSDrive Z -PsProvider FileSystem -Root \\mapr006\mapr
  New-PSDrive : The specified drive root "\\mapr006\mapr" either does not exist, or it is not a folder.
  At line:1 char:1
  + New-PSDrive Z -PsProvider FileSystem -Root \\mapr006\mapr
  + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      + CategoryInfo          : ReadError: (Z:PSDriveInfo) [New-PSDrive], IOException
      + FullyQualifiedErrorId : DriveRootError,Microsoft.PowerShell.Commands.NewPSDriveCommand
  
  
  
  PS C:\Windows\system32&gt; New-PSDrive Z -PsProvider FileSystem -Root \\172.18.4.109\mapr
  New-PSDrive : The specified drive root "\\172.18.4.109\mapr" either does not exist, or it is not a folder.
  At line:1 char:1
  + New-PSDrive Z -PsProvider FileSystem -Root \\172.18.4.109\mapr
  + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      + CategoryInfo          : ReadError: (Z:PSDriveInfo) [New-PSDrive], IOException
      + FullyQualifiedErrorId : DriveRootError,Microsoft.PowerShell.Commands.NewPSDriveCommand
  </code></pre>
  
  <p>getting numerous errors. I think that the commands tried above conform to what the process <a href="https://serverfault.com/q/509318/456930">expects</a>, so not sure what I'm doing wrong at this point (normally used to linux). Note that in the last command, it tells me <code>\\172.18.4.109\mapr</code> is not a folder, but I am actually able to mount this location when using the "Map Network Drive" in the file explorer GUI.</p>
  
  <p>Can anyone with more Windows experience give any advice on debugging tips or what could be going on and how to fix this?</p>