I have this code.
$OSDArchitecture = "OS Architecture"
$GetInfo1 = (get-ItemProperty hklm:\SOFTWARE\Microsoft\MPSD\OSD).OSDArchitecture
Echo $OSDArchitecture $GetInfo1 >> "c:\windows\MGH\BuildLog.txt"
It works but when it writes to my .txt file it write the data line this.
OS Architecture
x86
I want it to write like this:
OS Architecture x86
how do you format that?