wally_davis
asked on
Need to develop Agentless software to retrieve software/hardware data from Windows Servers
Can anyone point me in the right direction to read up or learn about how to develop an Agentless Inventory software application to retrieve software/hardware data from Windows Servers? So, rather than develop a Windows Service that has to run on each of the Windows Servers and deploy it, it appears that there is a better way to do it using Agentless software.
I will be developing this using Visual Studio 2008 Professional and specifically, using the C# language. It doesn't matter if I learn to do it in ASP.NET or using Windows Forms. Any help would be most appreciated.
Thank you Experts!
Wallace
I will be developing this using Visual Studio 2008 Professional and specifically, using the C# language. It doesn't matter if I learn to do it in ASP.NET or using Windows Forms. Any help would be most appreciated.
Thank you Experts!
Wallace
Have you looked into WMI?
http://msdn.microsoft.com/en-us/library/aa394582%28v=vs.85%29.aspx
http://msdn.microsoft.com/en-us/library/aa389290%28v=vs.85%29.aspx
http://msdn.microsoft.com/en-us/library/ms257337%28v=vs.80%29.aspx
ASKER
Thanks Kaufmed. Yes, I've used WMI numerous times in VBScript and I was wondering if that was the Class they might have been referring to. I like that last link you gave me using the ManagementObjectSearcher and ManagementObject class examples.
When using a For Each loop, I end up piping in one server name at a time. I imagine I could create a thread of some sort that would allow me to pipe in multiple servers so that the data collection and output is much quicker. Do you know of a class or an example that would allow me to do that?
When using a For Each loop, I end up piping in one server name at a time. I imagine I could create a thread of some sort that would allow me to pipe in multiple servers so that the data collection and output is much quicker. Do you know of a class or an example that would allow me to do that?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
P.S.
You *may* not need the ConnectionOptions parameter. I was querying a Win 7 box, and it seems like it was required (even though I have the same account on both machines).
You *may* not need the ConnectionOptions parameter. I was querying a Win 7 box, and it seems like it was required (even though I have the same account on both machines).
ASKER
Great exampls of using the WMI Class Kaufmed. Thanks!