All Current Documentation Scripts are Getting Updated 7-Feb-2022

As I get time over the next couple of days, I am updating all the current documentation scripts with a few minor bug fixes. Any script that has anything different from the fixes listed below will have that change(s) listed separately.

Script Bug Fix Updates 7-Feb-2022

  • Changed the date format for the transcript and error log files from yyyy-MM-dd_HHmm format to the FileDateTime format
    • The format is yyyyMMddTHHmmssffff (case-sensitive, using a 4-digit year, 2-digit month, 2-digit day, the letter T as a time separator, 2-digit hour, 2-digit minute, 2-digit second, and 4-digit millisecond).
    • For example: 20221225T0840107271.
  • Fixed the German Table of Contents (Thanks to Rene Bigler)
    • From
      • ‘de-‘ { ‘Automatische Tabelle 2’; Break }
    • To
      • ‘de-‘ { ‘Automatisches Verzeichnis 2’; Break }
  • In Function AbortScript, add test for the winword process and terminate it if it is running
    • Added stopping the transcript log if the log was enabled and started
  • In Functions AbortScript and SaveandCloseDocumentandShutdownWord, add code from Guy Leech to test for the “Id” property before using it
  • Replaced most script Exit calls with AbortScript to stop the transcript log if the log was enabled and started
  • Updated the help text
  • Updated the ReadMe file

 

Active Directory 3.09 7-Feb-2022

    • Added to Domain Information the data for ms-DS-MachineAccountQuota

Active Directory Health Check 3.09 7-Feb-2022

    • Add missing variable $Script:ThisScriptPath
    • Changed all Write-Verbose statements from Get-Date to Get-Date -Format G as requested by Guy Leech
    • Removed Function Stop-Winword
    • Updated Functions CheckWordPrereq and SetupWord with the versions used in the other documentation scripts

Citrix Federated Authentication Services 1.14 7-Feb-2022

Citrix Provisioning Services (PVS) New 6.03 8-Feb-2022

Citrix Provisioning Services (PVS) Old 4.32 10-Feb-2022

Citrix XenApp/XenDesktop 7.0 through 7.7 1.51 13-Feb-2022

    • Since the Citrix.GroupPolicy.Commands.psm1 module file was removed in  1.50,  removed the block for Elevation if $Policies is True

Citrix XenApp/XenDesktop 7.8 through CVAD 2006 2.46 15-Feb-2022

Citrix Virtual Apps and Desktops V3.32 15-Feb-2022

Microsoft Configuration Manager 2012R2 V2.40 17-Feb-2022

Microsoft DHCP V2.05 17-Feb-2022

Microsoft DNS V2.03 18-Feb-2022

Citrix NetScaler Old (uses ns.conf file) V2.62 18-Feb-2022

    • Fixed $Null comparisons that were on the wrong side
    • Updated Functions CheckWordPrereq and SendEmail to the latest version

Parallels RAS V17 V1.02 18-Feb-2022

    • 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>
    • Updated Functions SaveandCloseTextDocument and  SaveandCloseHTMLDocument to add a “Report Complete” line
    • Updated Functions ShowScriptOptions and ProcessScriptEnd to add  $ReportFooter

Parallels RAS V18 V2.11 18-Feb-2022

    • 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>
    • Updated Functions SaveandCloseTextDocument and  SaveandCloseHTMLDocument to add a “Report Complete” line
    • Updated Functions ShowScriptOptions and ProcessScriptEnd to add  $ReportFooter

VMware vSphere 1.93 23-Feb-2022

Citrix XenApp 6.5 5.06 23-Feb-2022

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