File tree Expand file tree Collapse file tree 2 files changed +20
-7
lines changed Expand file tree Collapse file tree 2 files changed +20
-7
lines changed Original file line number Diff line number Diff line change 1+ v0.0.21
2+
3+ - Cleaned up for release
4+ - Updated CHANGELOG.txt
5+
6+ v0.0.20
7+
8+ - Updated Formatting
9+
110v0.0.19
211
312- Updated Add-SiteBinding
Original file line number Diff line number Diff line change 8888 <Label >Thumbprint</Label >
8989 <Width >41</Width >
9090 </TableColumnHeader >
91- <TableColumnHeader >
92- <Label >Name</Label >
93- </TableColumnHeader >
9491 <TableColumnHeader >
9592 <Label >Key</Label >
9693 <Alignment >Center</Alignment >
107104 <ScriptBlock >"$($PSStyle.Foreground.BrightCyan)$($_.Location)$($PSStyle.Reset)\$($PSStyle.Foreground.BrightBlue)$($_.Store)$($PSStyle.Reset)"</ScriptBlock >
108105 </TableColumnItem >
109106 <TableColumnItem >
110- <PropertyName >Thumbprint</PropertyName >
111- </TableColumnItem >
112- <TableColumnItem >
113- <PropertyName >DisplayName</PropertyName >
107+ <ScriptBlock >
108+ $output = "$($PSStyle.Foreground.BrightWhite)"
109+ if ($_.DisplayName.Length -gt 41) {
110+ $output += "$($_.DisplayName.Substring(0, 38))$($PSStyle.Foreground.BrightBlack)..."
111+ }
112+ else {
113+ $output += "$($_.DisplayName)"
114+ }
115+ $output += "`n$($PSStyle.Foreground.White)$($_.Thumbprint)$($PSStyle.Reset)"
116+ $output
117+ </ScriptBlock >
114118 </TableColumnItem >
115119 <TableColumnItem >
116120 <ScriptBlock >
You can’t perform that action at this time.
0 commit comments