diff --git a/ADTools.Format.ps1xml b/ADTools.Format.ps1xml index 22d05a5..e2799dc 100644 --- a/ADTools.Format.ps1xml +++ b/ADTools.Format.ps1xml @@ -48,6 +48,17 @@ } else { $_.AccountDisabled + } + + + + + + if ($_.AccountLocked -eq "True") { + "$([char]0x1b)[1;91m$($_.AccountLocked)$([char]0x1b)[0m" + } + else { + $_.AccountLocked }