A PowerShell cmdlet for defining custom drives, which typically map to filesystem locations.
From the docs:
The
New-PSDrive
cmdlet creates temporary and persistent drives that are mapped to or associated with a location in a data store, such as a network drive, a directory on the local computer, or a registry key, and persistent Windows mapped network drives that are associated with a file system location on a remote computer.
Only persistent drive definitions (-Persist
), which are only supported on Windows, are visible to programs outside of PowerShell.