Microsoft.PowerShell.Commands.Internal.Format.ListViewHeaderInfo :: 에버노트

ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • Microsoft.PowerShell.Commands.Internal.Format.ListViewHeaderInfo
    카테고리 없음 2019. 3. 20. 15:07

    csv에서 Microsoft.PowerShell.Commands.Internal.Format.ListViewHeaderInfo  발생 

    파워쉘

    Get-WinEvent -FilterHashtable @{Logname='Microsoft-Windows-TerminalServices-LocalSessionManager/Operational'; id=25} -MaxEvents 1| Format-List -Property * | Export-Csv c:\test.csv -NoTypeInformation


    #  csv에서 Microsoft.PowerShell.Commands.Internal.Format.ListViewHeaderInfo 


    #아래와 같이 하면 에러메시지가 발생되지 않는다.

    Get-WinEvent -FilterHashtable @{Logname='Microsoft-Windows-TerminalServices-LocalSessionManager/Operational'; id=25} -MaxEvents 1| Format-List -Property * | Out-File c:\test.csv 

    댓글

Designed by Tistory.