Logging to the Windows Event Log in Your Powershell Scripts
As I discussed in my previous post, you can log information to a file, but sometimes you may want to log to the Windows Event Log. To log to the Windows Event Log, you will need to use the following cmdlets:
Read More