snippetbashTip
Get-Location — Print name of current/working directory. This command can only be run through PowerShell. More infor
Viewed 0 times
currentdirectorycommandget-locationnamecliprintworking
windows
Problem
How to use the
Get-Location command: Print name of current/working directory. This command can only be run through PowerShell. More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.management/get-location>.Solution
Get-Location — Print name of current/working directory. This command can only be run through PowerShell. More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.management/get-location>.Print the current directory:
Get-LocationCode Snippets
Print the current directory
Get-LocationContext
tldr-pages: windows/Get-Location
Revisions (0)
No revisions yet.