File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -51,13 +51,14 @@ function Get-Capi2EventLogs {
5151 Get-WinEvent @SplatArgs | ForEach-Object {
5252
5353 $EventXml = [xml ]$_.ToXml ()
54-
55- $ServerName = $EventXml.Event.UserData.CertVerifyCertificateChainPolicy.SSLAdditionalPolicyInfo.serverName
56- $ResultText = $EventXml.Event.UserData.CertVerifyCertificateChainPolicy.Result .' #text'
57- $ProcessName = $EventXml.Event.UserData.CertVerifyCertificateChainPolicy.EventAuxInfo.ProcessName
58- $Certificate = $EventXml.Event.UserData.CertVerifyCertificateChainPolicy.Certificate.fileRef
59- $SubjectName = $EventXml.Event.UserData.CertVerifyCertificateChainPolicy.Certificate.subjectName
60- $CorrelationTaskId = $EventXml.Event.UserData.CertVerifyCertificateChainPolicy.CorrelationAuxInfo.TaskId
54+ $EventXml = $EventXml.Event.UserData.CertVerifyCertificateChainPolicy
55+
56+ $ServerName = $EventXml.SSLAdditionalPolicyInfo.serverName
57+ $ResultText = $EventXml.Result .' #text'
58+ $ProcessName = $EventXml.EventAuxInfo.ProcessName
59+ $Certificate = $EventXml.Certificate.fileRef
60+ $SubjectName = $EventXml.Certificate.subjectName
61+ $CorrelationTaskId = $EventXml.CorrelationAuxInfo.TaskId
6162
6263 New-Object - TypeName psobject - Property @ { ' TimeCreated' = $_.TimeCreated
6364 ' Id' = $_.Id
You can’t perform that action at this time.
0 commit comments