Created
June 5, 2022 13:28
-
-
Save valorad/ac5ab71ec6aa1e464562dea33deea29d to your computer and use it in GitHub Desktop.
Change the drive letter in PowerShell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Get-Disk | |
Get-Partition | |
Remove-PartitionAccessPath -DiskNumber YOUR_DISK_NUMBER -PartitionNumber YOUR_PARTITION_NUMBER -Accesspath CURRENT_DRIVE_LETTER: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment