Sponsored White Papers, Webcasts, and Downloads
TechRepublic Resources
- How do I get a VBScript to read the wscript.echo output?
- How do I get a VBScript to read the message box's output after, first searching my computer for that output and second creating a new folder named after that output?I am trying to create a VBScript that displays the current month/year, searches my computer for that month/year folder and ...
- Tags: Scripting languages, husweety@..., Wscript.Echo, Microsoft VBScript, Set objFSO
- Discussion threads 2007-09-20
- Logon Script
- I want a script that appears when the user logs on that states a warning message and the user will have to click yes to get onto the desktop or if they click no it will log them out.Try This.You may need to modify it for exactly what you want...
- Tags: cterreforte@..., Wscript.Echo
- Discussion threads 2007-09-05
- 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
- Deleting Reg Key
- I need to delete a registry keys through a login script . I am not sure I have the right syntax.=========================================DelRegKey.vbs'' This script should handle deleting a registry key which may, or may not, exist' and does, or does not, have subkeys.Option ExplicitConst HKEY_CURRENT_USER = &H80000001Dim strComputerDim strKeyDim strValueNameDim strValueDim...
- Tags: aSubKeys, ByVal strKey, Deleting Reg Key, networking, rocky5689, strKey, strKey End, vbs, Wscript.Echo
- Discussion threads 2006-01-11
- Getting 80070003 Error with vbscript
- All --I have a vbscript running in an ASP page that I am trying to get to access a virtual directory in IIS 6. I can get the metapath of the site, but when the script tries to access the virt dir, I get a path can not be found...
- Tags: A1, cmptrwhz, Getting 80070003 Error, Microsoft VBScript, programming, Wscript.Echo
- Q&A 2005-12-13
- 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
- automatically delete files
- I'm trying to set up a batch file to automatically delete files in a temporary directory and it's subdirectories on the network. But I only want it to delete anything that hasn't been modified in over a month. Is there any way to do this with dos commands,...
- Tags: Scripting languages, Wscript.Echo
- Q&A 2004-12-02
Additional Resources
- 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
- VB File Copy script failing
- Can anyone otut there tell me why this ain't working? The echo's are so I could see how far it was getting. I have a 'Expected If' error but have had all sorts. Need to be able to pass it the filename from the command line. ...
- Tags: fsoCopy.CopyFile strFilename, Option Explicit Dim strFilename Dim fsoCopy Dim strDestination, Set strFilename, Matt H, programming, InStr, Microsoft Visual Basic, ElseIf inStr
- Q&A 2006-06-28
- WMI: Output to a file
- HI, Does anyone knows how to output the data to a file in the script below? I tried to find info on this but so far no luck. Thanks.-------------------------------------Option ExplicitDim strComputer, strKey, strSubKeyDim objRegistryDim arrSubKeysDim strDisplayName, strDisplayVersion, strInstallLocationConst HKEY_LOCAL_MACHINE = &H80000002strComputer = "."strKey = "SOFTWAREMicrosoftWindowsCurrentVersionUninstall"'*'* CALLOUT A'*Set objRegistry = GetObject("winmgmts:"...
- Tags: programming, psvoboda@..., strKey, strSubKey, strSubKey Dim objRegistry Dim arrSubKeys, WMI
- Q&A 2005-04-21
- Using "wscript" to send a message
- How can I use "wscript" to send a message from a Windows 2003 server to a specific computer on a network?Hi Kaypauluse a vbs script to call wscript.....wscript.echo "message goes here"save the above line in a file called something.vbs..... this will display a pop up box requiring users to click...
- Tags: Servers, kaypaul@...
- Discussion threads 2007-03-17
- 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
- WScript Executing As IWAM Not Terminating
- Hi all,Hopefully someone out there can help.From an ASP application I am spawning a WScript shell that can't seem to close itself. The script runs until it encounters a flag, at which point it calls WScript.Quit. This works a-okay when I start
- Tags: wscript, vbscript, asp, programming, scripting, WScript Executing, IWAM, Hamish_NZ, WScript.Quit
- Discussion threads 2006-11-19
- Scripting
- Looking for a script that will rename and change password on all of the local administrators user accounts. I can do this through GPO I know, but I want to run this particular script on a list of servers without having to reboot. I have found a couple...
- Tags: arrSubAut, BlitzSonik, bSID, CStr, err.description, Hex, oUser.objectSID, password, security
- Q&A 2005-05-19
- Echo and Echo Control
- Echo, simply stated, occurs when you hear yourself speak. Not so simply stated, echo involves many factors such as delay, your system configuration (for example: analog trunks, type of phone, speakerphones, handsets, etc.), room acoustics, levels, etc. The purpose of this white paper is to explain the various kinds of...
- Tags: Avaya Inc.
- White papers 2005-05-24
- Members of a Active Directory Group
- Hi, We have a Windows 2003 Domain Controller in our Oganization, with 2 domains (US & IN) at 2 sites (USA & India). We have several "Universal Groups" created at the domain US which have members from both US & IN domains.From the command prompt when I issue "net...
- Tags: domain
- Q&A 2006-06-27
- LDAP Find users within a group
- Using ADUC I tried to find which users were members of the Internet group using:(objectCategory=user)(memberOf=CN=internet)Removing the "CN=" still results in a "is not a valid query string" How do I find out which users are members of a particular group ??All help appreciated,BanxThe members of a group are stored...
- Tags: arrMemberOf arrCPU, banx, hardware, LDAP
- Q&A 2006-07-28
- Ping Network
- How can i ping all IP Addresses on a network to see which are used and which are free?A vbscript will do it--------------Option ExplicitDim objShell, strSubnet, iSet objShell = CreateObject("WScript.Shell")strSubnet = "10.130.32." 'Obviously set this to yours! And note the trailing stopFor i = 1 to 255 If IsUp(strSubnet & i) Then wscript.echo strSubnet...
- Tags: it management, network, Sprocket, strSubnet
- Q&A 2005-11-07
- Print a List of all my Outlook Folders and Sub-Folders
- Hello, how would I print a list of all my Outlook 2007 mail folders and sub-folders. I have an extensive list of personal folders and sub-folders and I would like to be able to print them. Any ideas?Thanks.CadonnTry ThisIt works in Outlook 2003 and may still work for...
- Tags: Microsoft Office, cadonn@..., Microsoft Outlook
- Discussion threads 2007-09-20
- << Previous
- page 1 of 1
- Next >>