correctly get string from file content
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user