Cmdlets-Get-PSDrive



Get-PSDrive

Example

NAME
    Get-PSDrive
    
SYNTAX
    Get-PSDrive [[-Name] ] [-Scope ] [-PSProvider ] 
    [-UseTransaction]  []
    
    Get-PSDrive [-LiteralName]  [-Scope ] [-PSProvider ] [-UseTransaction] 
     []
    
    
PARAMETERS
    -LiteralName 
        
        Required?                    true
        Position?                    0
        Accept pipeline input?       true (ByPropertyName)
        Parameter set name           LiteralName
        Aliases                      None
        Dynamic?                     false
        
    -Name 
        
        Required?                    false
        Position?                    0
        Accept pipeline input?       true (ByPropertyName)
        Parameter set name           Name
        Aliases                      None
        Dynamic?                     false
        
    -PSProvider 
        
        Required?                    false
        Position?                    Named
        Accept pipeline input?       true (ByPropertyName)
        Parameter set name           (All)
        Aliases                      None
        Dynamic?                     false
        
    -Scope 
        
        Required?                    false
        Position?                    Named
        Accept pipeline input?       true (ByPropertyName)
        Parameter set name           (All)
        Aliases                      None
        Dynamic?                     false
        
    -UseTransaction
        
        Required?                    false
        Position?                    Named
        Accept pipeline input?       false
        Parameter set name           (All)
        Aliases                      usetx
        Dynamic?                     false
        

        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, 
    see 
        about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216). 
    
    
INPUTS
    System.String[]
    System.String
    
    
OUTPUTS
    System.Management.Automation.PSDriveInfo
    
    
ALIASES
    gdr
    
REMARKS
    Get-Help cannot find the Help files for this cmdlet on this computer. 
    It is displaying only partial help.
        -- To download and install Help files for the module that includes
     this cmdlet, use Update-Help.
        -- To view the Help topic for this cmdlet online,
     type: "Get-Help Get-PSDrive -Online" or 
           go to http://go.microsoft.com/fwlink/?LinkID=113327.

Copy and Try it