Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Writing a URL to event log that becomed a link

Status
Not open for further replies.

58sniper

MIS
Apr 25, 2004
9,152
US
I can successfully write events to the log without issue using something like:

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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top