correctly get string from file content

This commit is contained in:
2024-06-14 13:37:29 -04:00
parent 4275e667df
commit 4c2e9979f1
+1 -1
View File
@@ -25,7 +25,7 @@ If ( -not (Test-Path $BSODReport) ) { Write-Output "BSOD report was not found: $
# Create ticket
Import-Module $env:SyncroModule -WarningAction SilentlyContinue
$TicketComment = Get-Content $BSODReport
$TicketComment = Get-Content $BSODReport | Out-String
$TicketSubject = 'BSOD on ' + $Env:COMPUTERNAME
$TicketIssueType = 'Remote Support'
$TicketStatus = 'New'