We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6df4845 commit 71bc82cCopy full SHA for 71bc82c
Get-SANExtension.ps1
@@ -62,13 +62,14 @@ process {
62
63
If (-not $SanExtension) {
64
65
- $OutputObject = $CurrentRow
66
-
67
- $OutputObject
+ # directly return the Object
+ $CurrentRow
68
69
}
70
Else {
71
+ # Process the SANs and return these as well
72
+
73
# https://docs.microsoft.com/en-us/windows/win32/api/certenroll/nf-certenroll-ix509extensionalternativenames-initializedecode
74
# https://docs.microsoft.com/en-us/windows/win32/api/certenroll/ne-certenroll-encodingtype
75
$SanObjects = New-Object -ComObject X509Enrollment.CX509ExtensionAlternativeNames
0 commit comments