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

Gl command

From RZWiki

Revision as of 13:14, 2 February 2009 by Steve (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Preferences-system-windows.svg

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

Contents

Preferences-desktop-font-v2-22.png Usage Syntax

noinclude/noinclude

gl

Vm-power-on-medium.png Usage Examples

gl

Accessories-text-editor-v2-medium.png Usage Notes

gl Is an alias for Get-Location

Object-flip-vertical-medium.png Command Alternatives

The pwd command is also an alias for Get-Location

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

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

Object-flip-horizontal-medium.png Command Equivalents

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

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

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

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

Icemon-medium.png Related Articles

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

Information on Linux commands Tux-small.png

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

Information on Cisco commands Cisco-logo-small.png

Information on Vyatta commands Vyatta-logo-small.png

Information on Extreme commands Extreme-logo-small.png

Information on Nortel commands Nortel-logo-small.png

Information on Zebra commands

Information on Secure Platform commands

Information on Blue Coat SGOS commands

Information on Nokia IPSO commands


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
Disclaimers - About Network Stuff
Powered by MediaWiki