Im trying to create a program or a script to remotely retrieve all the hardwares (computers, printers etc) serialnumbers and I was just wondering if WMI is necessary.
I do know about the basic
wmic /NODE: "Computername" bios get serialnumber
but this also creates some problems with access as you need administrator rights on both computers if I have understood it correctly and also that the remote computer is configured to allow incoming WMI request.
Is it necessary to use WMI for this or are there any other ways to go about this? I know that WMI knows anything you might want to know about a computer but Im interested in the serialnumber only for now, and only on windows enviroments aswell I might add.
So if there are any Im looking for tips on any other way around this besides using WMI as it causes alot of other challenges and the goal is to keep it as simple as possible for the user.