This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2021-09-23T10:52:58.0404141-05:00 0HMBUL7JFVG6T:000000C1 [INF] Request finished HTTP/2 GET https://SITE.DOMAIN.COM/api/v1/script/Server Decommission Main.ps1/job - - - 200 - application/json;+charset=utf-8 104.7096ms (791a596a) | |
2021-09-23T10:52:58.1087017-05:00 [DBG] Agent Output: (06fd9dc3) | |
2021-09-23T10:52:58.2947301-05:00 0HMBUL7JFVG6T:000000C3 [INF] Executing HttpStatusCodeResult, setting HTTP status code 200 (e28ccfae) | |
2021-09-23T10:52:58.2948722-05:00 0HMBUL7JFVG6T:000000C3 [INF] Executed action "UniversalDashboard.Controllers.SessionController.Index (Universal.Server)" in 278.0746ms (afa2e885) | |
2021-09-23T10:52:58.2949129-05:00 0HMBUL7JFVG6T:000000C3 [INF] Executed endpoint '"UniversalDashboard.Controllers.SessionController.Index (Universal.Server)"' (99874f2b) | |
2021-09-23T10:52:58.2951007-05:00 0HMBUL7JFVG6T:000000C3 [INF] Request finished HTTP/2 GET https://SITE.DOMAIN.COM/api/internal/session/37bd5291-f19d-4dc9-9a52-2701f027fa05 - - - 200 0 - 281.7424ms (791a596a) | |
2021-09-23T10:52:58.4299513-05:00 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Slightly modified function from: https://www.powershellbros.com/create-new-event-log-powershell-function/ | |
function New-CustomEvent { | |
[CmdletBinding()] | |
# Parameters used in this function | |
param | |
( | |
[Parameter(Mandatory = $false, HelpMessage="Provide eventlog name", ValueFromPipeline = $false)] $EventLog, | |
[Parameter(Mandatory = $false, HelpMessage="Provide event source", ValueFromPipeline = $false)] $Source, |