I can successfully write events to the log without issue using something like:
This works fine except the URL doesn't becomg a link, like the one at the bottom that says
For more information, see Help and Support Center at
I've tried various things like making sure there is a space after the URL, a new line, etc. Nothing seems to work, and I'm not able to find anything online.
Ideas?
Pat Richard MVP
Plan for performance, and capacity takes care of itself. Plan for capacity, and suffer poor performance.
Code:
$evt=new-object System.Diagnostics.EventLog("Application")
$evt.Source=$strWhoAmI
$infoevent=[System.Diagnostics.EventLogEntryType]::Information
$evt.WriteEntry("Messaging Records Management (MRM) policies were applied to all users who didn't have a policy defined. For more information on Messaging Records Management, see [URL unfurl="true"]http://technet.microsoft.com/en-us/library/bb310756.aspx",$infoevent,70)[/URL]
This works fine except the URL doesn't becomg a link, like the one at the bottom that says
For more information, see Help and Support Center at
I've tried various things like making sure there is a space after the URL, a new line, etc. Nothing seems to work, and I'm not able to find anything online.
Ideas?
Pat Richard MVP
Plan for performance, and capacity takes care of itself. Plan for capacity, and suffer poor performance.