Compartilhar via


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