• 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 Windows PowerShell arrow Get-Location [gl]
Get-Location [gl] Print E-mail
Written by Diana, on 04-09-2007 02:12
Views 102    
Favoured None

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

NAME
    Get-Location

SYNOPSIS
    Gets information about the current working location.

SYNTAX
    Get-Location [-psProvider <string[]>] [-psDrive <string[]>] [<CommonParameters>]

    Get-Location [-stack] [-stackName <string[]>] [<CommonParameters>]


DETAILED DESCRIPTION
    Gets information about the current working location.


PARAMETERS
    -psProvider <string[]>
        Outputs a PathInfo object representing the current working location for the specified providers.

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

    -psDrive <string[]>
        Outputs a PathInfo object representing the current working location for the specified drives.

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

    -stack <SwitchParameter>
        Outputs a StackInfo object representing the current stack.

        Required?                    false
        Position?                    named
        Default value                False
        Accept pipeline input?       false
        Accept wildcard characters?  false

    -stackName <string[]>
        Outputs StackInfo objects representing the specified stacks.

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

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


INPUT TYPE



RETURN TYPE
    PathInfo Objects or StackInfo Objects


NOTES


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

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

        Locations can be stored on a stack and pop will access the last location on top of the stack. Push will add a location to the top of the stack.

        The PSProvider, PSDrive, Stack and Stackname parameters interact in ways that depend upon the provider.  Some combinations will result in errors, such as specifying both a drive and a provider that does not provide that drive. If no parameters are specified then get-location will return the
         PathInfo Object for the provider that contains the current working location.


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

    C:\PS>get-location


    This command displays the current working location.





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

    C:\PS>get-location -stack


    This command displays the items on the current stack. The current location is not displayed. To display the current location, run the command without the Stack parameter.






RELATED LINKS
    Pop-Location
    Push-Location
    Set-Location


Last update: 04-09-2007 02:12

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: 21:26
Caching: Disabled
GZIP: Disabled
Members: 36
News: 2448
Web Links: 39
Visitors: 1443444

Syndicate

Login

Particls