• Narrow screen resolution
  • Wide screen resolution
  • Increase font size
  • Decrease font size
  • Default font size
  • default color
  • red color
© Diana Scherff, Amas-Veritas.com

Welcome to Amas Veritas [dot] com

Updates: Media (lyrics) has a new layout. I could never figure out how to lay it out, but it's easier to navigate now. I'm still working on a better duplicate Mamblog mod. I'm trying to make submittions easier but the poetry form died for some reason. Quizzes are also on their way from the old site. Joomla content isn't very code friendly so I'm having to rewrite old code. You can still click on News > AH v21 > Screen if you wish to use the quizzes.
 
Home arrow Tools arrow Software arrow Get-PSDrive [gdr]
Get-PSDrive [gdr] Print E-mail
Written by Diana, on 04-09-2007 01:19
Views 105    
Favoured None

PS C:\Users\Admin> help gdr -full

NAME
    Get-PSDrive

SYNOPSIS
    Gets information about Windows PowerShell drives.

SYNTAX
    Get-PSDrive [[-name] <string[]>] [-pSProvider <string[]>] [-scope <string>] [<CommonParameters>]

    Get-PSDrive [-literalName] <string[]> [-pSProvider <string[]>] [-scope <string>] [<CommonParameters>]


DETAILED DESCRIPTION
    Gets information about Windows PowerShell drives. If no drive is specified it gets information for all Windows PowerShell drives in the current namespace scope.


PARAMETERS
    -name <string[]>
        Specifies the name of the Windows PowerShell drive about which to retrieve information. To specify multiple Windows PowerShell drives, separate them by using commas.

        Required?                    false
        Position?                    1
        Default value                *
        Accept pipeline input?       true (ByPropertyName)
        Accept wildcard characters?  true

    -pSProvider <string[]>
        This parameter returns the PSDriveInfo object for all of the drives exposed by the specified provider(s).

        Required?                    false
        Position?                    named
        Default value                *
        Accept pipeline input?       true (ByPropertyName)
        Accept wildcard characters?  true

    -scope <string>
        Specifies the scope within which to search for the specified Windows PowerShell drive.

        Required?                    false
        Position?                    named
        Default value                String.empty
        Accept pipeline input?       true (ByPropertyName)
        Accept wildcard characters?  false

    -literalName <string[]>
        Specifies the new of the item. The value of LiteralName is used exactly as it is typed. No characters are interpreted as wildcards. If the name includes escape characters, enclose it in single quotation marks. Single quotation marks tell Windows PowerShell not to interpret any characters as escape sequences.

        Required?                    true
        Position?                    1
        Default value
        Accept pipeline input?       true (ByPropertyName)
        Accept wildcard characters?  false

    <CommonParameters>
        This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, and -OutVariable. For more information, type, "get-help about_commonparameters".


INPUT TYPE
    String or pipelined object


RETURN TYPE
    A PSDriveInfo object.


NOTES


        For more information, type "Get-Help Get-PSDrive -detailed". For technical information, type "Get-Help Get-PSDrive -full".

        When specifying multiple values for a parameter, use commas to separate the values. For example, "<parameter-name> <value1>, <value2>".


    ----------------- EXAMPLE 1 -----------------

    C:\PS>get-psdrive


    This command displays information about all currently visible drives.





    ----------------- EXAMPLE 2 -----------------

    C:\PS>get-psdrive HK*


    This command displays information about drives with names that begin with the letters HK. By default, the result will be information about drives mapped to the registry provider.






RELATED LINKS
    New-PSDrive
    Remove-PSDrive
    Get-Help
    Get-Command
    Get-Member


Last update: 04-09-2007 01:19

Published in : Tools, Windows PowerShell

Users' Comments (0) RSS feed comment

No comment posted

Add your comment



mXcomment 1.0.4 © 2007-2009 - visualclinic.fr
License Creative Commons - Some rights reserved
 
< Prev   Next >




Double click any word on this page for a definition.
Using Firefox? Enable definitions by downloading the extension.
Sorry, this feature does not currently work in Opera or Safari.

No Users Online

Statistics

OS: FreeBSD
PHP: 5.2.1
MySQL: 4.1.21-log
Time: 22:28
Caching: Disabled
GZIP: Disabled
Members: 36
News: 2448
Web Links: 39
Visitors: 1443640

Syndicate

Login

Particls