Ok, I understand now! Ive been learning on the fly and you helped me learn something else. Thanks alot, I really appreciate it! The script is working now!
Here is the entire code
JustinEzequiel, Ive been running it without the quotes as well. I was trying different things in an attempt to find out what the issue is.
Option Explicit
'On Error Resume Next
Dim wmiRoot
Dim WshShell
Dim objWMIService
Dim colItems
Dim objItem
Dim strComputerName
Dim...
I have a simple vbscript where I use WMI to pull various server information. I wrote a function to determine if the server is a virtual machine or not. When I call the function I receive "runtime error: Object required", it appears that my function is not exiting properly but I cant figure it...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.