Search notes:

System.Management.Automation.CommandInfo (class)

A System.Management.Automation.CommandInfo object provides information about a PowerShell command. In PowerShell, an instance or an array of instances of CommandInfo can be obtained with the get-command cmdLet.
After obtaining a CommandInfo object, it can be passed to the constructor of System.Management.Automation.CommandMetadata which creates another object that then can be used to query meta information about a command.
This technique is rudimentarily covered here.

See also

$myInvocation.myCommand stores a CommandInfo object.

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