title: Get-WinEvent - Expand Property $_.Message to get full message details?
body: <p>How can I get the full Event ID Detailed content from the below code?
  Because of the <strong>$_.Message</strong> variable seems to be truncated?</p>
  <p>From this script:</p>
  <pre><code>$EventIDs = 5829, 5830, 5831, 5827, 5828, 5719
  $Ago = -240
  $EventFilter = @{ LogName = 'System'; ID = $EventIDs; StartTime = (Get-Date).AddHours($Ago) }
  
      Get-ADComputer -LDAPFilter &quot;(&amp;(objectCategory=computer)(userAccountControl:1.2.840.113556.1.4.803:=8192))&quot; | Select-Object -ExpandProperty Name | Sort-Object | ForEach-Object {
      
          $computer = $_
          Write-Host &quot;Processing $computer ...&quot;
              Get-WinEvent -ComputerName $_ -FilterHashTable $EventFilter |
                      Select-Object -Property TimeCreated, Id, @{N='Detailed Message'; E={$_.Message}} | 
                      Sort-Object -Property TimeCreated
      } | OGV -Title &quot;Checking NETLOGON $($EventIDs) AD Domain Controllers as at $(Get-Date -Format 'F')&quot;
  </code></pre>