-
Microsoft Configuration Manager 2012 R2 PowerShell Documentation Script Version 2.39
Version 2.39 11-Sep-2021
- Add Function OutputReportFooter
- Add Parameter ReportFooter
- Outputs a footer section at the end of the report.
- Report Footer
- Report information:
- Created with: <Script Name> – Release Date: <Script Release Date>
- Script version: <Script Version>
- Started on <Date Time in Local Format>
- Elapsed time: nn days, nn hours, nn minutes, nn.nn seconds
- Ran from domain <Domain Name> by user <Username>
- Ran from the folder <Folder Name>
- Report information:
- Change all Write-Verbose $(Get-Date) to add -Format G to put the dates in the user’s locale – recommended by Guy Leech
- Clean up Word formatting
- Fix $Null comparisons to put $Null on the left
- Update the following functions to the latest versions
- AddWordTable
- CheckWordPrereq
- SetWordCellFormat
- SetWordTableAlternateRowColor
- Update Functions ShowScriptOptions and ProcessScriptEnd to add $ReportFooter
- Update the help text
- Update the ReadMe file
Thanks to fellow CTP Thomas Krampe for the push to add the report footer.
Thanks to David McSpadden for all the testing.
If you have questions or issues, please email me. webster at carlwebster dot com.
You can always find the most current script by going to https://www.carlwebster.com/where-to-get-copies-of-the-documentation-scripts/
Thanks
Webster
September 11, 2021
Configuration Manager, PowerShell