Search notes:

System.Management.Automation.InvocationInfo (class)

System.Management.Automation.InvocationInfo stores how an where this command was invoked.
An instance of InvocationInfo is stored in the automatic PowerShell Variable $myInvocation.

Properties

BoundParameters This member provides a dictionary of the parameters that were bound for this script or command.
CommandOrigin This property tells you if you were being invoked inside the runspace or if it was an external request.
DisplayScriptPosition The position for the invocation or error.
ExpectingInput true if this command is expecting input.
HistoryId History ID that represents the command. -1 if unavailable.
InvocationName Command name used to invoke this string - if invoked through an alias, then this would be the alias name.
Line A String sthat stores the text of the line that contained this cmdlet invocation.
MyCommand Provide basic information about the command.
OffsetInLine Command's character offset in that line. If the command was executed directly through the host interfaces, this will be -1.
PipelineLength How many elements are in the containing pipeline.
PipelinePosition Which element this command was in the containing pipeline.
PositionMessage Formatted message indicating where the cmdlet appeared in the line.
PSCommandPath This property tells you the full path to the command from where you were being invoked.
PSScriptRoot This property tells you the directory from where you were being invoked.
ScriptLineNumber An int that stores the line number in the executing script that contained this cmdlet.
ScriptName A String that stores the name of the script containing the cmdlet.
Statement The full text of the invocation statement, may span multiple lines.
UnboundArguments List of the arguments taht were not bound to any parameter.

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/Microsof...', 1788440623, '216.73.217.21', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Microsoft/dot-net/namespaces-classes/System/Management/Automation/InvocationInfo(59): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78