Jump to content

Write back Date from Batchscript into output variable


Recommended Posts



I want to write back the result of the following short script into a custom field to put this at the corresponding machine. How I have to do this?

wmic diskdrive get model

Result is for example:

Generic MassStorageClass USB Device
Samsung SSD 980 PRO 500GB
Generic MassStorageClass USB Device

The result should stored into a custom field for the machine.


Thank you for helping!

Link to comment
Share on other sites

  • 4 weeks later...
  • 7 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...