Export (0) Print
Expand All
Expand Minimize

Using the Remove-PSDrive Cmdlet

Unmapping a Windows PowerShell Drive

Nothing lasts forever, which is as true for Windows PowerShell drives as it is for anything else. If you ever decide to get rid of a Windows PowerShell drive then simply call the Remove-PSDrive cmdlet, passing along the name of the drive to be removed. For example, this command removes drive Y:

Remove-PSDrive y

Remove-PSDrive Aliases
  • rdr

Related Links

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft