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
|
# Create ticket
|
||||||
Import-Module $env:SyncroModule -WarningAction SilentlyContinue
|
Import-Module $env:SyncroModule -WarningAction SilentlyContinue
|
||||||
$TicketComment = Get-Content $BSODReport
|
$TicketComment = Get-Content $BSODReport | Out-String
|
||||||
$TicketSubject = 'BSOD on ' + $Env:COMPUTERNAME
|
$TicketSubject = 'BSOD on ' + $Env:COMPUTERNAME
|
||||||
$TicketIssueType = 'Remote Support'
|
$TicketIssueType = 'Remote Support'
|
||||||
$TicketStatus = 'New'
|
$TicketStatus = 'New'
|
||||||
|
|||||||
Reference in New Issue
Block a user