Event ID 4105 — Started invocation of ScriptBlock ID: ScriptBlockId.
Description
Started invocation of ScriptBlock ID: ScriptBlockId.
Message #
Fields #
| Name | Description |
|---|---|
ScriptBlockId UnicodeString | Started invocation of ScriptBlock ID. |
RunspaceId UnicodeString | — |
Example Event #
{
"system": {
"provider": "Microsoft-Windows-PowerShell",
"guid": "A0C1853B-5C40-4B15-8766-3CF1C58F985A",
"event_source_name": "",
"event_id": 4105,
"version": 1,
"level": 5,
"task": 102,
"opcode": 15,
"keywords": 0,
"time_created": "2023-11-06T01:35:05.999333+00:00",
"event_record_id": 906,
"correlation": {
"ActivityID": "E4DB489E-1037-0000-CC79-E9E43710DA01"
},
"execution": {
"process_id": 15468,
"thread_id": 15184
},
"channel": "Microsoft-Windows-PowerShell/Operational",
"computer": "WinDev2310Eval",
"security": {
"user_id": "S-1-5-21-1992711665-1655669231-58201500-1000"
}
},
"event_data": {
"ScriptBlockId": "4b7eebd5-d6e3-46f7-b795-a7d9736e5810",
"RunspaceId": "6fa4bb48-d600-4d4b-b445-e1fa0a41db53"
},
"message": ""
}
References #
- Microsoft Learn https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_logging_windows
- Example event sourced from https://github.com/NextronSystems/evtx-baseline