Kiln » KilnSupportScripts Powershell Scripts to help monitor a Kiln environment. Contact Fog Creek support before using. Read More
Clone URL:  
Pushed to one repository · View In Graph Contained in tip

fix line breaks

Changeset 4a2b71777048

Parent a141820a4935

by Profile picture of User 476Ben McCormack <benm@fogcreek.com>

Changes to one file · Browse files at 4a2b71777048 Showing diff from parent a141820a4935 Diff from another changeset...

 
52
53
54
55
 
56
57
58
59
60
 
 
61
62
63
 
52
53
54
 
55
56
 
 
 
 
57
58
59
60
61
@@ -52,12 +52,10 @@
 $msg.From = $fromEmail  $msg.To.Add($toEmail)  $msg.subject = "Kiln Automated Backup" -$msg.body = [string]::Join("`r`n",(Get-Content "$backupLogLocation\BackupScript.txt")) +$msg.body = [string]::Join("`r`n",(Get-Content "$backupLogLocation\BackupScript.txt"))   -$logfile1 = new-object -Net.Mail.Attachment("$backupLogLocation\BackupKiln.txt") -$logfile2 = new-object -Net.Mail.Attachment("$backupLogLocation\CopyToNetwork.txt") +$logfile1 = new-object Net.Mail.Attachment("$backupLogLocation\BackupKiln.txt") +$logfile2 = new-object Net.Mail.Attachment("$backupLogLocation\CopyToNetwork.txt")  $msg.Attachments.Add($logfile1)  $msg.Attachments.Add($logfile2)