Skip to content

Commit

Permalink
Updated to version 0.0.21
Browse files Browse the repository at this point in the history
  • Loading branch information
syntax-tm committed Mar 6, 2023
1 parent 43eb711 commit 52af6dd
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 7 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
v0.0.21

- Cleaned up for release
- Updated CHANGELOG.txt

v0.0.20

- Updated Formatting

v0.0.19

- Updated Add-SiteBinding
Expand Down
18 changes: 11 additions & 7 deletions src/PSCerts/PSCerts.format.ps1xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,6 @@
<Label>Thumbprint</Label>
<Width>41</Width>
</TableColumnHeader>
<TableColumnHeader>
<Label>Name</Label>
</TableColumnHeader>
<TableColumnHeader>
<Label>Key</Label>
<Alignment>Center</Alignment>
Expand All @@ -107,10 +104,17 @@
<ScriptBlock>"$($PSStyle.Foreground.BrightCyan)$($_.Location)$($PSStyle.Reset)\$($PSStyle.Foreground.BrightBlue)$($_.Store)$($PSStyle.Reset)"</ScriptBlock>
</TableColumnItem>
<TableColumnItem>
<PropertyName>Thumbprint</PropertyName>
</TableColumnItem>
<TableColumnItem>
<PropertyName>DisplayName</PropertyName>
<ScriptBlock>
$output = "$($PSStyle.Foreground.BrightWhite)"
if ($_.DisplayName.Length -gt 41) {
$output += "$($_.DisplayName.Substring(0, 38))$($PSStyle.Foreground.BrightBlack)..."
}
else {
$output += "$($_.DisplayName)"
}
$output += "`n$($PSStyle.Foreground.White)$($_.Thumbprint)$($PSStyle.Reset)"
$output
</ScriptBlock>
</TableColumnItem>
<TableColumnItem>
<ScriptBlock>
Expand Down

0 comments on commit 52af6dd

Please sign in to comment.