Text-Garble im Batch-Skript für den Befehl wmic

Ich versuche, das Batch-Skript auszuführen, um die grundlegenden Computerinformationen wie CPU, RAM und aktive Netzwerkkarte abzurufen. Hier ist mein Code

@Echo OFF

set newline=^& echo.

echo Manufacturer Information> test1.txt

systeminfo|findstr /c:"Host Name" /c:"OS Name" /c:"System Model:" /c:"System Type:" /c:"Total Physical Memory:" >>test1.txt

echo CPU Information:>> test1.txt

wmic cpu get Name /Format:list >> test1.txt

echo %newline%Process Information:>> test1.txt

wmic computersystem get NumberofProcessors /Format:list >> test1.txt

echo %newline%NIC Information:>> test1.txt

wmic nicconfig where "IPEnabled=TRUE" get ipaddress, macaddress,defaultipgateway /format:list >>test1.txt

Output sieht so aus:

Herstellerinformation Hostname: DK-IT Betriebssystemname:
Microsoft Windows 8.1 Single Language System Modell:
Inspiron 7537 Systemtyp: x64-basierter PC Gesamter physischer Speicher: 6.043 MB CPU-Informationen:

 N a m e = I n t e l ( R )   C o r e ( T M )   i 5 - 4 2 0 0 U   C P U   @   1 . 6 0 G H z 



Process Information:


 N u m b e r O f P r o c e s s o r s = 1 



NIC Information:


 D e f a u l t I P G a t e w a y = { " 1 0 . 5 . 1 . 1 " }     I P A d d r e s s = { " 1 0 . 5 . 4 . 5 4 " , " f e 8 0 : : 1 0 e b : 1 d

2 d: 2 0 8 8: 8 b a 1 "} M A C A d r e s = 0 C: 8 B: F D: 9 C: 8 0: 4 7

 D e f a u l t I P G a t e w a y =     I P A d d r e s s = { " 1 9 2 . 1 6 8 . 1 9 9 . 1 " }     M A C A d d r e s s = 0 0 : 5 0 : 5 6 :

C 0: 0 0: 0 1

Standard IPG ateway = IPA ddress = {"1 9 2. 1 6 8. 1 9 0. 1", "fe 8 0:: 6 4 b 2: 2 aaa: ef 6 4: fa 9 a"} MACA ddress = 0 0: 5 0: 5 6: C 0: 0 0: 0 8

Kann jemand helfen, die Ansicht der Batchdatei-Ausgabe zu ändern?

Antworten auf die Frage(1)

Ihre Antwort auf die Frage