@@ -5,7 +5,7 @@ function Get-AbrADCACRLSetting {
55 . DESCRIPTION
66
77 . NOTES
8- Version: 0.8 .1
8+ Version: 0.9 .1
99 Author: Jonathan Colon
1010 Twitter: @jcolonfzenpr
1111 Github: rebelinux
@@ -45,7 +45,7 @@ function Get-AbrADCACRLSetting {
4545 ' Delta CRL' = $VP.DeltaCRL
4646 ' Delta CRL Overlap' = $VP.DeltaCRLOverlap
4747 }
48- $OutObj += [pscustomobject ]$inobj
48+ $OutObj += [pscustomobject ]( ConvertTo-HashToYN $inObj )
4949 } catch {
5050 Write-PScriboMessage - IsWarning " CRL Validity Period $ ( $VP.Name ) Section: $ ( $_.Exception.Message ) "
5151 }
@@ -77,7 +77,7 @@ function Get-AbrADCACRLSetting {
7777 ' Server Name' = $Flag.ComputerName.ToString ().ToUpper().Split(" ." )[0 ]
7878 ' CRL Flags' = $Flag.CRLFlags
7979 }
80- $OutObj += [pscustomobject ]$inobj
80+ $OutObj += [pscustomobject ]( ConvertTo-HashToYN $inObj )
8181 } catch {
8282 Write-PScriboMessage - IsWarning " CRL Validity Period $ ( $Flag.Name ) Section: $ ( $_.Exception.Message ) "
8383 }
@@ -114,14 +114,14 @@ function Get-AbrADCACRLSetting {
114114 ' Config URI' = $URI.ConfigURI
115115 ' Url Scheme' = $URI.UrlScheme
116116 ' ProjectedURI' = $URI.ProjectedURI
117- ' Flags' = ConvertTo-EmptyToFiller ($URI.Flags -join " , " )
118- ' CRL Publish' = ConvertTo-TextYN $URI.IncludeToExtension
119- ' Delta CRL Publish' = ConvertTo-TextYN $URI.DeltaCRLPublish
120- ' Add To Cert CDP' = ConvertTo-TextYN $URI.AddToCertCDP
121- ' Add To Fresh est CRL' = ConvertTo-TextYN $URI.AddToFreshestCRL
122- ' Add To Crl cdp' = ConvertTo-TextYN $URI.AddToCrlcdp
117+ ' Flags' = ($URI.Flags -join " , " )
118+ ' CRL Publish' = $URI.IncludeToExtension
119+ ' Delta CRL Publish' = $URI.DeltaCRLPublish
120+ ' Add To Cert CDP' = $URI.AddToCertCDP
121+ ' Add To Fresh est CRL' = $URI.AddToFreshestCRL
122+ ' Add To Crl cdp' = $URI.AddToCrlcdp
123123 }
124- $OutObj = [pscustomobject ]$inobj
124+ $OutObj = [pscustomobject ]( ConvertTo-HashToYN $inObj )
125125
126126 $TableParams = @ {
127127 Name = " CRL Distribution Point - $ ( $CA.Name ) "
@@ -162,7 +162,7 @@ function Get-AbrADCACRLSetting {
162162 ' Childs' = ($Health.Childs ).Name
163163 ' Health' = $Health.Status
164164 }
165- $OutObj += [pscustomobject ]$inobj
165+ $OutObj += [pscustomobject ]( ConvertTo-HashToYN $inObj )
166166 } catch {
167167 Write-PScriboMessage - IsWarning $_.Exception.Message
168168 }
0 commit comments