Hello,
I am trying to name a txt file with the output of this command:
wmic csproduct get identifyingnumber >> c:\users\%username%\desktop\(
S.T.#Here).txt
which displays the Service tag number of machines and writes the service tag number into this text file. I have been beating my head in on this one, please help me.