New-Psdrive does not map a network drive

Welcome Forums General PowerShell Q&A New-Psdrive does not map a network drive

Viewing 2 reply threads
  • Author
    • #185360
      Topics: 4
      Replies: 6
      Points: 27
      Rank: Member

      I am using below to commands to map a network drive, they get created in powershell session but they are not found in file explorer. I have gone through the documentation of new-psdrive so many times, not sure what I am doing wrong.


      New-PSDrive -Name V -PSProvider FileSystem -Root ‘\\\US’ -Persist -Scope ‘global’


      New-PSDrive -Name W -PSProvider FileSystem -Root ‘\\\US’  -Persist

    • #185639
      Topics: 3
      Replies: 218
      Points: 1,187
      Helping Hand
      Rank: Community Hero

      Hi Mallik,

      I don’t see any issues with this command, I believe your company group policies are enforcing.

      Thank you.

    • #185654
      Topics: 10
      Replies: 119
      Points: 631
      Helping Hand
      Rank: Major Contributor

      This can happen if you’re running the commands in PowerShell under a different user context than what is being used to open File Explorer.

      Is the same user account being used for the entire process? Are you running this locally or in a remote session?

Viewing 2 reply threads
  • The topic ‘New-Psdrive does not map a network drive’ is closed to new replies.