WMI Abfrage in ANSI speichern
Hallo,
folgendes Problem habe ich:
wmic /namespace:\\root\CIMV2\Security\MicrosoftTpm path Win32_Tpm get /value >C:\TEMP\TPM_FW.LOG
ergibt eine Datei im UTF-16LE Format, wie lautet die Syntax um direkt im ANSI Format abzuspeichern?
|more >> ….txt nutzt mir nichts da die Zeilen auseinander gerissen werden
/Format: habe ich nichts passendes gefunden
Umwandeln type TPM_FW.LOG >> TPM_FW02.LOG wäre eine Lösung möchte ich aber nicht
Hintergrund ist, dass ich mit findstr bestimmte Werte auslesen möchte und das geht im UTF-16LE Format nicht.
In der Hoffnung das ich nur zu BLIND war das Ergebnis zu sehen.
folgendes Problem habe ich:
wmic /namespace:\\root\CIMV2\Security\MicrosoftTpm path Win32_Tpm get /value >C:\TEMP\TPM_FW.LOG
ergibt eine Datei im UTF-16LE Format, wie lautet die Syntax um direkt im ANSI Format abzuspeichern?
|more >> ….txt nutzt mir nichts da die Zeilen auseinander gerissen werden
/Format: habe ich nichts passendes gefunden
Umwandeln type TPM_FW.LOG >> TPM_FW02.LOG wäre eine Lösung möchte ich aber nicht
Hintergrund ist, dass ich mit findstr bestimmte Werte auslesen möchte und das geht im UTF-16LE Format nicht.
In der Hoffnung das ich nur zu BLIND war das Ergebnis zu sehen.
Please also mark the comments that contributed to the solution of the article
Content-Key: 399656
Url: https://administrator.de/contentid/399656
Printed on: April 24, 2024 at 17:04 o'clock
4 Comments
Latest comment