Sponsored White Papers, Webcasts, and Downloads
TechRepublic Resources
- 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
- Automate mundane network tasks with these four member-submitted scripts
- TechRepublicrecently asked members to submit their favorite Network Administration scriptsfor possible publication. One of the first to make a submission was Lee Mason. For his effort, Lee earned $400and the satisfaction of seeing his scripts published on TechRepublic.Earn $100 for your admin scriptLet us payyou for your original scripts so...
- Tags: Â Â Â Â Â, Â Â Â Â Â Â Â Â Â Â Â fso.CopyFile, Â Â Â Â Â Case, C:\windows\background.png, Guest Contributor, network, Set objWMIService
- Technical articles 2005-11-28
Additional Resources
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- finding out memory modules for multiple pcs
- hello to all first post and hopefully a nice greeting and answerwe have 600 pc's which we would like to upgrade to 1gb of memory simple you say hmm yeah, problem i have i need to find out what the machine have as memory module to be able to purchase...
- Tags: Desktops, craig.parkinson@..., PC, memory module
- Discussion threads 2007-11-09
- Last Rebooted
- Hey,Is there any way or any programs out that will allow you to remotely see when a PC/Server was last rebooted?Assuming this is Microsoft:Workstation:net statistics workstation | moreServer:net statistics server | moreEnjoy.Hey,Yes it is Windows, Sorry.That appears to show me the stats for the system I am on. It...
- Tags: BlackDiamond, dBoot, Mid, server, vbscript sServerName
- Q&A 2006-01-11
- << Previous
- page 1 of 1
- Next >>