Access volume without a drive letter

Welcome Forums General PowerShell Q&A Access volume without a drive letter

This topic contains 2 replies, has 2 voices, and was last updated by

1 year, 3 months ago.

  • Author
  • #85252

    Points: 0
    Rank: Member


    If you have a volume, lets say D:, and then remove the drive letter, the volume still shows up if you use 'Get-Volume'.
    The volume of course shows up with no drive letter but you can see it's UniqueID, eg:

    You can then copy and paste this UniqueID into a folder explorer and browse the volume with no problem.
    Is there a way to "cd", or something similar, into this disk in PowerShell?

    The question in short:
    I need to access the files on a disk, via PowerShell, with no drive letter assigned to it.

    Thanks in advance.

  • #85255

    Points: 1,811
    Helping HandTeam Member
    Rank: Community Hero

    You could try mapping a PSDrive (which would not be a "drive letter" assignment), using that "path" as the root. But PS can't "change" to anything not represented by a PSDrive (which is not the same as a system-level drive letter on a volume).

  • #85262

    Points: 0
    Rank: Member

    Thank you for the quick reply!
    This solves my problem, so consider this question answered.

    Thank you for your assistance.

The topic ‘Access volume without a drive letter’ is closed to new replies.

denizli escort samsun escort muğla escort ataşehir escort kuşadası escort