I am using Windows Management Instrumentation (WMI) to retrieve system information. I have the script fully operational and it inserts all of the data into my database just fine. The problem is that since admin privileges are required to run the WMI interface it will only work if an admin person is logged on. My script is called at login and I want to have power users run it. Is there any way run the script as a power user with admin rights. This system is on an intranet, could I pass the admin username and password and if I can are there huge security risks?
Thank you for any help I have been banging my head on my desk for a week trying to figure this out.%-)
Thank you for any help I have been banging my head on my desk for a week trying to figure this out.%-)