Find data in an external database with Batch
Posted: 08 Feb 2022 17:51
Good friends.
I come to you, since I have been given a task at work that far exceeds the little knowledge I have about Batch.
The point is that you need to verify if the serials of some hardware components (obtained by CMD) are the ones in the database.
For example: I obtain through the Batch the serial of the equipment, of the memories, of the hdd, of the processor, etc.
Then the equipment serial is searched in a database, and when matching, the rest of the serials must be validated.
If everything is fine, it does not show any alert, if there is a discrepancy, it shows an alert based on the changes.
The million dollar question, is it possible to do this with batch?
If it is possible, could you give me some light on how to do it, an example, or at least some links to read.
Grateful more than ever for the help you can give me
I come to you, since I have been given a task at work that far exceeds the little knowledge I have about Batch.
The point is that you need to verify if the serials of some hardware components (obtained by CMD) are the ones in the database.
For example: I obtain through the Batch the serial of the equipment, of the memories, of the hdd, of the processor, etc.
Then the equipment serial is searched in a database, and when matching, the rest of the serials must be validated.
If everything is fine, it does not show any alert, if there is a discrepancy, it shows an alert based on the changes.
The million dollar question, is it possible to do this with batch?
If it is possible, could you give me some light on how to do it, an example, or at least some links to read.
Grateful more than ever for the help you can give me