Skip to content

Commit

Permalink
added account lockoutstatus to results view
Browse files Browse the repository at this point in the history
  • Loading branch information
RobHolme committed Jan 23, 2021
1 parent 080b666 commit 3d38ece
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions ADTools.Format.ps1xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,17 @@
}
else {
$_.AccountDisabled
}
</ScriptBlock>
</ListItem>
<ListItem>
<Label>AccountLocked</Label>
<ScriptBlock>
if ($_.AccountLocked -eq "True") {
"$([char]0x1b)[1;91m$($_.AccountLocked)$([char]0x1b)[0m"
}
else {
$_.AccountLocked
}
</ScriptBlock>
</ListItem>
Expand Down

0 comments on commit 3d38ece

Please sign in to comment.