edit: habs gefunden, gibt aber auch Fehler:
Windows PowerShell
Copyright (C) 2009 Microsoft Corporation. Alle Rechte vorbehalten.
PS C:\Windows\System32\WindowsPowerShell\v1.0> get-winevent -FilterHashTable @{l
ogname="Application"; id="1001"}| ?{$_.providername -match "wininit"} | fl timec
reated, message | out-file Desktop\CHKDSKResults.txt
Out-File : Ein Teil des Pfades "C:\Windows\System32\WindowsPowerShell\v1.0\De sk
top\CHKDSKResults.txt" konnte nicht gefunden werden.
Bei Zeile:1 Zeichen:140
+ get-winevent -FilterHashTable @{logname="Application"; id="1001"}| ?{$_.provi
dername -match "wininit"} | fl timecreated, message | out-file <<<< Desktop\CH
KDSKResults.txt
+ CategoryInfo : OpenError: ([Out-File], DirectoryNotFoundExce
ption
+ FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.Ou
tFileCommand
PS C:\Windows\System32\WindowsPowerShell\v1.0>
irgendwie ist das verkorkst wie es scheint...
Lesezeichen