# Searches for the USB and changes Drive Letter and the Name of the USB Drive - (optional) $drive = Get- WmiObject Win32_Volume -Filter " DriveType ='2'" | Select-Object -First 1 Set- WmiInstance -input $drive -Arguments @{ DriveLetter ="y:"; Label="USMT"}
Sharing PowerShell Scripts with others...every PowerShell Scripted has been tested causing no issues on my pc or others - not responsible for any issues that this might cause. Use at your own risk.