Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. gmoney1011

    Function wont return "True" or "False" properly

    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!
  2. gmoney1011

    Function wont return "True" or "False" properly

    When you say the IsVM function is completely independent of objItem, isn't objItem a global variable as it defined at the beginning of the script?
  3. gmoney1011

    Function wont return "True" or "False" properly

    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...
  4. gmoney1011

    Function wont return "True" or "False" properly

    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...

Part and Inventory Search

Back
Top