-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CUT-4602: Multi-Group Radius Report Function #655
Conversation
})] | ||
[System.IO.FileInfo]$ExportFilePath | ||
) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I'm going to be nitpicky, I'd say there really should be begin/ process/ end blocks here. I don't have anything else to add to the function
It "Generates the Report" { | ||
# Export the report | ||
Get-JCRCertReport -ExportFilePath "$JCScriptRoot/testReport.csv" | ||
$report = Import-Csv -Path "$JCScriptRoot/testReport.csv" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome! Thanks for adding that here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome work here. Works on my end, code looks good
Issues
What does this solve?
Created a new function to generate a report that accepts multiple groupIDs and will output a report that contains the following properties:
username
userid
systemHostname
systemID
systemOS
CertSerialNumber
CertExpirationDate
CertInstalled
Is there anything particularly tricky?
The function will need to be added to the end of the MultiGroup RADIUS script in order to function correctly
How should this be tested?
Without the MultiGroup Radius Script
a. NOTE: You may have to force update the global variables to ensure that the hashes are populated, it is also recommended to have at least a few certs deployed
With the MultiGroup Radius Script