In a domain environement there is a powershell script on the server to clear eventlogs at the clients. The script is called in an batch file:# powershell.exe "D:\Scripts\Script.ps1 -AD -Clear" # the argument -AD tells the ps script to process all Computers
in the ActiveDirectory, the -Clear argument tells the script to clear the eventlogs. The powershell scripts cycles through all computers in AD, tries to ping them and if computer is alive it determines the OS Version and then tries to clear the eventlog.
At one single computer in the whole domain the script errors at the following line:
Microsoft is conducting an online survey to understand your opinion of the Technet Web site. If you choose to participate, the online survey will be presented to you when you leave the Technet Web site.