Similarly, when an external drive is disconnectedįrom the computer, Windows PowerShell automatically deletes the PSDrive that represents the removedĭrive. You do not need to restart Windows PowerShell. Windows PowerShell automatically adds a PSDrive to the file system that represents the new drive. For more information, see New-PSDrive.Īlso, beginning in Windows PowerShell 3.0, when an external drive is connected to the computer, Session-specified temporary drives and persistent mapped network drives that you create by usingīeginning in Windows PowerShell 3.0, the Persist parameter of the New-PSDrive cmdlet canĬreate mapped network drives that are saved on the local computer and are available in other.Drives exposed by PowerShell providers (such as the Certificate:, Function:, and Alias:ĭrives) and the HKLM: and HKCU: drives that are exposed by the Windows PowerShell Registry.Windows logical drives on the computer, including drives mapped to network shares.This cmdlet gets the following types of drives: The Get-PSDrive cmdlet gets the drives in the current session.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |