I'm sending out emails with Powershell. Part of the email has a link to a file on the network. I'd like to change the hyperlink to something shorter and more user-friendly. Here is the code for the body of the email:
$SMTPBody = "`nThe following files have recently been added/changed:`n`n"
$File | ForEach { $SMTPBody += "$($_.FullName)`n"
I did a little searching and didn't find anything obvious. I didn't write this. Borrowed it from http:/