-
Microsoft DNS Documentation Script Update Version 1.22
#Version 1.22 8-May-2020
- Add checking for a Word version of 0, which indicates the Office installation needs repairing
- Change color variables $wdColorGray15 and $wdColorGray05 from [long] to [int]
- Change location of the -Dev, -Log, and -ScriptInfo output files from the script folder to the -Folder location (Thanks to Guy Leech for the “suggestion”)
- Change Text output to use [System.Text.StringBuilder]
- Updated Functions Line and SaveAndCloseTextDocument
- Fixed by MBS: When the root hint IP address is an array, report on all entries of the array, instead of just the first entry
- For all the uses of the Get-DNSServer cmdlet, to stop the excess “garbage” spewed forth by that cmdlet, use 2>$Null 3>$Null 4>$Null
- Reformatted the terminating Write-Error messages to make them more visible and readable in the console
- Remove the SMTP parameterset and manually verify the parameters
- Update Function SendEmail to handle anonymous unauthenticated email
- Update Function SetWordCellFormat to change parameter $BackgroundColor to [int]
- Update Help Text
You can always find the most current script by going to https://carlwebster.com/where-to-get-copies-of-the-documentation-scripts/
Thanks
Webster
April 30, 2020
DNS, PowerShell