Log in Go to the main page Page Discussion History Go to the file list Go to the site toolbox Bookmark and Share

Gl command

From RZWiki


Image:Preferences-system-windows.svg

A Windows PowerShell CLI command; used to display or get the current PowerShell location.

Contents

Image:Vm-power-on-medium.png Usage Syntax

gl

Image:Vm-power-on-medium.png Usage Examples

gl

Image:accessories-text-editor-v2-medium.png Usage Notes

gl Is an alias for Get-Location

Image:object-flip-vertical-medium.png Command Alternatives

The pwd command is also an alias for Get-Location

Image:accessories-text-editor-v2-medium.png PowerShell Usage Notes

With most PowerShell commands;

  • Brief command syntax usage help can be displayed using by prefixing the command with the help parameter, for example: help pwd (help is actually an alias of Get-Help)
  • More detailed command syntax usage help can be displayed using by also suffixing the the command with the -detailed parameter, for example: help pwd -detailed

Most PowerShell commands support these common parameters;

  • -verbose - display detailed information about command operation
  • -debug - display programmer-level detail about command operation.
  • -errorAction continue | silentlycontinue | stop | inquire - specify how the command responds when an error occurs, the default is continue
  • -whatIf - displays what will happen if the command is executed, without actually executing
  • -confirm - prompts the user for permission before performing any action that modifies the system

noinclude/noinclude

Image:icemon-medium.png Related Commands

Use the ls command to list directory contents

Use the mkdir command to create or make directories

Use the rm command to remove directories and their contents

Use the mv command to move directories and their contents

Use the cp command to copy directories and their contents

Image:object-flip-horizontal-medium.png Command Equivalents

The Linux platform command equivalent has the same name: pwd command, Linux Image:Tux-small.png

The Cisco platform command equivalent has the same name: pwd command, Cisco Image:Cisco-logo-small.png

The Nortel platform command equivalent has the same name: pwd command, Nortel Image:Nortel-logo-small.png

The Windows Command Prompt command equivalent is the cd command Image:Preferences-system-windows-small.png

Image:icemon-medium.png Related Articles

Information on other Windows commands Image:Preferences-system-windows-small.png

Information on Linux commands Image:Tux-small.png

Information on F5 BigIP commands Image:F5-logo-small.png

Information on Cisco commands Image:Cisco-logo-small.png

Information on Vyatta commands Image:Vyatta-logo-small.png

Information on Extreme commands Image:Extreme-logo-small.png

Information on Nortel commands Image:Nortel-logo-small.png

Information on Zebra commands

Information on Secure Platform commands

Information on Blue Coat SGOS commands

Information on Nokia IPSO commands


Image:internet-group-chat-small.png We really do appreciate all feedback so please do send your comments, suggestions or corrections to sjiveson#routerzone.eu
(replacing the # with an @)


Site Toolbox:

Personal tools
This page was last modified on 2 February 2009, at 13:14. - Disclaimers - About RZWiki
Powered by MediaWiki