On CHOW: The perfect summer DRINK
1 Resources for

strcomputer set objwmiservice

  • Subscribe to this listing via:
  • RSS
  • Email

TechRepublic Resources

KILLING Remote process using wmi script
strComputer = "abc;def;ghi;jkl;mno" strDomain = "WOrkgroup" strUser = InputBox("Enter user name") strPassword = InputBox("Enter password") Set objSWbemLocator = CreateObject("WbemScripting.SWbemLocator") For Each machine in strComputer
Tags: programming, networking, software, windows, strComputer Set objWMIService, abhiramhi@..., strComputer, strPassword, WMI
Discussion threads 2006-11-17

Additional Resources

script for shutting down clients Pc.
As all the client systems logon to server for file and printer sharing. Server is win2k advance server. Pl. provide me how to prepare a script to force the client systems to shutdown through server. ThanxBharat PrasadCut n past this into notepad and save with the extension ".vbs". strComputer =...
Tags: server, strComputer
Q&A 2006-03-07
Netdde on W2000
Hi all,we use an application named InTouch 7.1.It was written for NT, but we install it on W2000. It seems to work for the main features, but same secondary features based on NETDDE protocol doesn't run. The SW support told us that it doesn't work becasue w2000 doesn't support NETDDE,...
Tags: 2000 os, ginone70, NetDDE, objService, strComputer, W2000, windows
Discussion threads 2005-12-01
How do I send the VBScript Output to my Email?
I am using the below script to find out the status of the Windows Services in the Server. How can i send the output to my email instead of showing it on the desktop?strComputer = "."Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\" & strComputer & "rootcimv2")Set colServices...
Tags: bhnizam79@..., Set objWMIService, strComputer, e-mail, Microsoft VBScript
Discussion threads 2007-10-04
mapping a printer vb script (premission denied)
hi,I have 30 printers in my company, If I try to connect winxp share printer it's work fine, bat if I try to connect a win98 share printer I get "premission denied" this is the script:strcomputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\"...
Tags: Printers, m-6rom@..., Microsoft VBScript, printer
Discussion threads 2007-04-04
Get PC Physical Memory Size via VB Script
Hi guys, I had been trying to get the PC physical memory size via bwelow code://///////////////////////////////////////////// function getTotalMemory strComputer = "." Set objWMIService = GetObject("winmgmts:" & "{impersonationLevel=impersonate}!\" & strComputer & "rootcimv2") Set colSettings = objWMIService.ExecQuery("Select *...
Tags: Web browsers, andrew.zou@..., strComputer, GetObject, PC, Microsoft Visual Basic, Microsoft VBScript
Discussion threads 2007-09-11
Script for finding the model for hundreds of servers
HelloI have the script for finding the model of a server.. but copying the script & excuting it takes lot of time... Am copying the script hereSet objFSO = CreateObject("Scripting.FileSystemObject")Set objTextFile = objFSO.CreateTextFile("c:software1.xls", True)set obj=Wscript.CreateObject("Wscript.Network")set obj1=Wscript.StdOutstrComputer = "."Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\" & strComputer &...
Tags: ananth1201@..., server
Discussion threads 2007-06-25
Dell Service Tag
Is there any way to retrieve a dell service tag number from a remote pc without user intervention?if you're using the default load from dell it should be under C:i386oeminfo.iniif you're using your own load...i don't think there is a way to get it.Dell open management software will get information...
Tags: strComputer, Dell Computer Corp.
Q&A 2005-09-14
Looking for a script that will report folder size from multiple computers
I need a vbs script that will report the size of a folder on multiple computers. I have a script that will report this information when ran on a single computer. What I would like to do is to have this script read from a list of computers...
Tags: computer, brood@..., Const ForAppending, networking, strComputer
Discussion threads 2007-02-12
Programming in WMI
I am new in writing program in WMI. I have a syntax error is my first program in the For statement when run listed below.Can anyone help me out?dim objWMIFor Each objWMI In GetObject("winmgmts:rootcimv2").InstanceOf("Win32_Service") Wscript.EchoobjWMI.NameNextHere would be my steps to resolving the error.1. Instantiate your Win32_Service object before the for loop block.2....
Tags: Error Resume Next strComputer, kaypaul@..., objWMI, programming, Win32_Service, WMI
Q&A 2005-01-27
Dell Express Service Code
Does anyone know how to read the Dell Express service code using VBScript?We are currently reading the service tag and model from the bios but would like to get the express service code.We don't know the syntax to read that object.If anyone knows please let me know.This is what I...
Tags: dan.cox@..., Dell Computer Corp., Wscript.Echo
Discussion threads 2007-05-31
Finding CPU ID
I want to get the unique machine id or CPU ID through GUI based program. If it possible?. If so please guide me.RegardsRaja C S Ahere is a sample script in WMI that gives you all the info you need about your processor. To keep from getting a bunch...
Tags: CPU, csaraja@..., programming, Wscript.Echo
Q&A 2005-06-21
Scan for Windows SP1 on a network
Hello, I'm working in a department of about 400 users and wanted to make sure everyone was running Windows Service Pack 2. Is there a possible way (a tool maybe?) to scan a network to search for computers that are still running Windows XP SP1? Thanks.From MS technetList...
Tags: H-tech, Microsoft Windows, network, strComputer, windows, Windows SP1
Discussion threads 2005-03-28
Diskspace VBScript Help needed
How do I edit this script so that it will output the diskspace for each computer?To run the script the syntax is cscript diskspace.vbs computernameHere is the code: On Error Resume NextConst CONVERSION_FACTOR = 1048576Const WARNING_THRESHOLD = 100If WScript.Arguments.Count = 0 Then Wscript.Echo "Usage: FirstScript.vbs server1 [server2] [server3] ..." WScript.QuitEnd...
Tags: computer, Err.Number, keebmachine, Microsoft VBScript, programming, Wscript.Echo Computer
Q&A 2004-12-10
DNS Group policy
Hi AllI am running a 2003 servers AD and i need to change the DNS numbers to all the clients (XP Sp1) on a local site, is there any easy way to do this.I have set up a GPO for this but it is not changing the DNS numbers on...
Tags: arrDNSServerSearchOrder, blnFound, DHCP, DNS, DNS server, nick.askew@..., windows
Q&A 2005-09-12
How to remove network printers via a VBS script?
Hi all,I need to create a VBS logon script for users here to remove network printer conncections if they exist for a user's AD account. I've figured out how to add network printer connections, but I've run into a brick wall with removing them. I'd like the script to remove...
Tags: Computer Dude, network, network printer, printer
Q&A 2005-03-30
Disable / Enable Network connection
Hello,I've been searching for quiet a long time know and still I can't figure out how it is possible to disable and enable a NIC / a network connection. Is there a way doing this with the windows API or with WMI? Thank a lot for any help!Alexanderunder the hardware...
Tags: alebar, Enable network connection, network, network connection, network interface card, programming, strComputer
Q&A 2005-01-04
CPU Utilization Script
Hi,I need assistance to write a script for CPU Utilization which will records events in every 5 mins and transfer data in some text file.Is there any kix or dos batch script which i can use.Thanks and Regards.Anurag.For this kind of job you need some knowledge about Windows API.For this...
Tags: CPU, vbTab, strComputer
Q&A 2006-01-04
Force Group Policy to Update Remotely
How can I force all of the computers in the domain to immediately update their group policy settings without forcing the computers to restart?Note: All of my servers are Windows 2003 and all of my clients are Windows XP SP 2.On the local machinesecedit /refreshpolicy machine_ policy /renforcesecedit /refreshpolicy user_policyhere's...
Tags: Microsoft Windows, computer, group policy, COMPUTER1
Q&A 2005-02-02
WMI
Can i know how to ping remote systems on windows 2000 professional operating system using WMI can u please provide example in C++.i have the following script examplestrComputer = "PC1;PC2;" sArray = Split(strComputer, ";")strDomain = "WOrkA
Tags: programming, networking, software, windows, WMI, strComputer, sArray, abhiramhi@..., InputBox, strPassword
Discussion threads 2006-11-27
  • << Previous
  • page 1 of 1
  • Next >>


Windows XP vs. Mac OS X
This presentation, entitled Standardizing on Windows XP Instead of MAC OS X, provides a pre-packaged option for defending Windows XP against MAC OS X. ...
Buy Now
Microsoft PowerPoint Advanced Functionality
Microsoft PowerPoint Advanced Functionality is a preformatted presentation for training staff to maximize Microsoft PowerPoint's more advanced functio ...
Buy Now