Search notes:

PowerShell: the automatic variable $ExecutionContext

The type of $executionContext is System.Management.Automation.EngineIntrinsics. Such an object represents the execution context of the PowerShell host.

See also

Typically, $executionContext.SessionState.Path.CurrentLocation has the same value like $pwd, but is read-only, while $pwd is writable.
$psCmdLet
Other automatic variables
The .NET class System.Threading.ExecutionContext is not related to $executionContext.

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/...', 1738302779, '3.128.202.43', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Windows/PowerShell/language/variable/automatic/executionContext(45): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78