Citrix “Old” Provisioning Services Documentation Script Update 4.31

While old scripts that are not actively maintained do not get new features, they do get bug fixes.

#Version 4.31 23-Nov-2021

  • Added Function OutputReportFooter
  • Added 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>
  • Cleaned up numerous incorrect $Null comparisons
  • In Function AbortScript, add test for the winword process and terminate it if it is running
  • In Functions AbortScript and SaveandCloseDocumentandShutdownWord, add code from Guy Leech to test for the “Id” property before using it
  • Updated Functions ShowScriptOptions and ProcessScriptEnd to add $ReportFooter
  • Updated Functions AddWordTable and SetWordCellFormat
  • Updated the help text
  • Updated the ReadMe file

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