Reputation: 13
I want to write this line from CMD so I can execute it in a batch file on a remote computer on a network that I can't remote into.
/>wmic
/>/output:C:\InstallList.txt product get name,version
Upvotes: 0
Views: 1622
Reputation: 56155
you don't have to use wmic
interactively:
wmic /output:C:\InstallList.txt product get name,version
or simply:
wmic product get name,version >C:\InstallList.txt
Upvotes: 1