Skip to main content

Change Drive Letter with PowerShell Script


# Change USB Drive Letter from state to another 
$old = read-host "Enter the drive letter you want to change" 
$new = read-host "Enter the drive letter you want it to be" 
Get-Partition -DriveLetter $old | Set-Partition -NewDriveLetter $new

Comments

Popular posts from this blog