I am trying to run this command via LMI script in order to see the Dell Service Tag info of the remote PC
wmic csproduct get vendor,name,identifyingnumber
When i run it in CMD I can see the output no matter if I run it directly or in a batch file:
C:\Windows\System32>wmic csproduct get vendor,name,identifyingnumber
IdentifyingNumber Name Vendor
2T27M02 XPS 8700 Dell Inc.
When I run it as a script in LMIR the output and log show:
Sending resource file: C:\Users\xxxxx\Documents\!! LMI Rescue Scripts\Dell-Service-Tag-Lookup.bat
Executing script: Dell Service Tag
Execution of script Dell Service Tag completed.
Output:
<N/A>
I've played around with adding "/output:stdout" but no difference:
wmic /output:stdout csproduct get vendor,name,identifyingnum
Any Ideas?