Update StackMonkey.ps1
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
|
||||
#endregion
|
||||
|
||||
# STACK = Scripted Tooling for Automated Client Kickoff
|
||||
# MONKEY = Module-based Onboarding & Next-step Kickoff Engine Yoke
|
||||
# Conveys the idea of coupling tasks together and keeping them under control.
|
||||
#region Config & Task Definitions
|
||||
@@ -83,7 +84,7 @@ function Write-LogHelper {
|
||||
[int]$CustomEventID
|
||||
)
|
||||
$EventID = @{ Info=1000; Warning=2000; Error=3000; Success=4000; General=1000 }[$Level]
|
||||
$Icon = @{ Info="📝"; Warning="⚠️"; Error="❌"; Success="✅"; General="📦" }[$Level]
|
||||
$Icon = @{Info=[System.Char]::ConvertFromUtf32(0x1F4CB);Warning=[char]0x26A0;Error=[char]0x274C;Success=[char]0x2705;General=[char]0x1F4E6}[$Level]
|
||||
$logEntry = [PSCustomObject]@{
|
||||
Timestamp = (Get-Date).ToString("yyyy-MM-dd HH:mm:ss")
|
||||
Level = $Level
|
||||
|
||||
Reference in New Issue
Block a user