1) Download the outage_string1.txt to your client and rename it to outage_string1.ps1
2) As a member of the "Spotlight Diagnostic Administrators" group run the script with necessary parameters
[string]$server -> DisplayName of the server you want to add an outage
[string]$DS, -> hostname of the diagnostic server, where your server is registered
[DateTime]$StartDateTime, -> Start date of outage
[DateTime]$FinishDateTime, -> Finish date of outage
[string]$Description -> Description of outage
Please rename the attached script to be able to run in in a PowerShell and run the command for outage again. E.g. like this:
.\outage_string1.ps1 -server "10.11.78.144" -DS "10.11.78.146" -StartDateTime "11/08/2019 10:00" -FinishDateTime "11/08/2019 10:30" -Description "one outage"
If you see any error please run it with the verbose level 1
.\outage_string1.ps1 -server "10.11.78.144" -DS "10.11.78.146" -StartDateTime "11/08/2019 10:00" -FinishDateTime "11/08/2019 10:30" -Description "one outage" -verbose 1