figured it out.
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\CIMV2")
Set colItems = objWMIService.ExecQuery( _
"SELECT * FROM Win32_BIOS",,48)
For Each objItem in colItems
Wscript.Echo "Manufacturer: " & objItem.Manufacturer
Wscript.Echo...
Hi does anyknow now if it is possible to find a serial # on a HP desktop or IBM R51 laptop using VB. I have been researching but hav no come across much. Is there anything in the WMI area?
Hi we are having issue with users logs filling up. Is there a way to have log rotate either locally or on the domain policy?
Or does anyknow where i can limit what is being logged on the default domain policy?
Thank you?
Hi new to VB I am trying something simple. To rename a exe if it exists. Eventually I would want to try and delete it. How my if else is not working.
I am getting a Line 2 end of statement expected error at char 57. Can anyone help me out.
Thanks.
If fso.FolderExists ("C:\Program...
Hi new to VB I am trying something simple. To rename a exe if it exists. Eventually I would want to try and delete it. How my if else is not working.
I am getting a Line 2 end of statement expected error at char 57. Can anyone help me out.
Thanks.
If fso.FolderExists ("C:\Program...
You can find Delprof in the various Windows resource kits. You can also download it from the Microsoft Download Center. (Go to http:// www.microsoft.com/downloads, and search on delprof.exe.) Delprof's syntax is simple. For example, the command
Delprof.exe /I /Q /C:\\pc1 /D:90
tells Delprof...
Hi. I am trying to play a mp3 file as background for a slide so. I setup each slide to 2 seconds and the song to loop and play automaticlly.
The issue I am having is that the slide does not go to the next one after 3 seconds. It seems to be waiting for the mp3 file to finish playing.
I have...
Hi. I am not sure if this is the forum to be asking this question.
I am trying to print more then 1 pdf file at a time in a directory using adobe reader 7.0.5 however it is not working.
I attempt to select all then do a file -> print, however only the first pdf document prints.
Does anyone...
Hello.
I have person whos mailbox I can not archive. OS XP pro Outlook 2003. I have attempted to do this on 3 workstations.
Attempting: to Archive items older then 2 months.
Setup everything properly for a fact, because I have done this a millions times, applied to all folders.
Issue...
Hi does anyone know how to do a run as from the command line for local area connection.
I am trying to turn off the firewall but power users do not have rights. Would like to do it by putting in my credentials so I dont have to log off.
Thanks.
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.