Search notes:

PowerShell cmdLet get-location

get-location returns the current location of the current drive. Thus, if the drive is a file system, it returns the current directory.
The type of the returned object is a System.Management.Automation.PathInfo.
With get-psDrive, it's possible to show current location of all drives.

Aliases

Aliases for get-location are pwd (which is also a Unix shell command and stands for print working directory ) and gl
Compare the pwd alias with the automatic variable $pwd.

See also

Powershell command noun: location

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Windows/...', 1745370749, '160.79.109.8', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Windows/PowerShell/command-inventory/noun/location/get/index(50): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78