|
server
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Scripting for Windows Servermicrosoft.public.windows.server.scripting
Updating a Specific database record
Glenn -
12 Aug 2006 12:52 PM - 4 messages
I found the following script to create a new record in access. What I'm wondering is, is there a way to modify it to update a specific record in a table? Const adOpenStatic = 3 Const adLockOptimistic = 3 Set objConnection = CreateObject("ADODB.Connection") ...
batch file / reboot
Glenn -
11 Aug 2006 8:22 PM - 5 messages
Is there a way to create a batch file that will do something, cause the machine to reboot, and then continue running? Thanks! ...
Three Stage Script - Need Help!
csaliba -
11 Aug 2006 7:38 PM - 3 messages
I am trying to create a wsh / vbs script that does the following SCRIPT START-------------------------- ' declare variables dim wshnetwork ' SECTION_1 - MAP NETWORK DRIVES wshnetwork.mapnetworkdrive "h:","\\server1\Personal" wshnetwork.mapnetworkdrive "h:","\\server1\Departmental" ' SECTION 2 - CHECK FOR npi.txt in users d&s folder ...
How to create new WMI instance of a class?
Segal -
11 Aug 2006 3:39 PM - 2 messages
Hi, Could some one tell me how to convert this VBScript code to PowerShell. Set objWMIServices = GetObject("winmgmts:root\default") Set ReportSettings = objWMIServices.Get("QRM_ReportSettings").SpawnInstance_ ReportSettings.XMLReportPath = strReportPath Thanks. ...
Count Particular Windows Process Running
siko -
11 Aug 2006 9:15 AM - 2 messages
Hi There I'm totally new to programming and especially ASP. I have a scenarion where i need to run a count of windows processes running on a server and if the count is happy simply write write back success. I have played around and got ...
How to change "regional and language options"?
JamesP -
11 Aug 2006 7:23 AM - 4 messages
regional and language options can be changed in "control panel", but how to change the location by script or group policy? Or I have to go to 100 of each computer to do that? ...
Change Computer Name
Glenn -
11 Aug 2006 3:32 AM - 8 messages
Could some one tell me how, or point me to a script that would give me a pop up box asking for a name and then change the computer name to that name? Ideally I'd like to change the name and join the domain, but in the past ...
Book for Windows Script
beachboy -
11 Aug 2006 3:08 AM - 2 messages
any good book for Windows Script can tell me~? or can refer to VBS book? Thanks in advanced. ...
automation
jwaynejones -
10 Aug 2006 7:32 PM - 2 messages
i'm not sure if this is the right group for this, but i'll ask anyway. is there a way to run a GUI program, run a gui function in it and hit next a couple times? this is to run an automatic file dowloading ...
launch background process
Jim -
10 Aug 2006 2:48 PM - 3 messages
Hi, This may not be the perfect newsgroup choice for this question, but I have become convinced that there is not one. How could the java program started by running a BAT (contents below) at the command line be started in the background? I'm looking for something like ...
How to Run Available Programs on SMS Clients
mmaster -
10 Aug 2006 2:33 PM - 2 messages
Hi all, I have a problem with the following ms sample scipt: [link] I can't let it work has someone used it before? I cant find the right information to put in the following lines: ...
domain user logon script doesn't update My Computer
Sarah -
10 Aug 2006 11:41 AM - 2 messages
Changes made to the logmap.bat are not reflected in the network drives listed under My Computer after people reboot. For example if I remove net use p: \\server\projects from the the list of drives in logmap.bat, then save the changes, when I ...
Networking Script Help
Paul -
10 Aug 2006 4:07 AM - 2 messages
Hello, How would i convert this line below from VBscript to Jscript: for (Each objAdapter in colAdapters) I am trying to build an Ipconfig function in jscript for my manager. This is from an existing script in VB and i cannot figure out how to convert the for ...
Network Script help
Paul -
10 Aug 2006 4:03 AM - 2 messages
strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set colAdapters = objWMIService.ExecQuery _ ("SELECT * FROM Win32_NetworkAdapterConfiguration WHERE IPEnabled = True") n = 1 WScript.Echo For Each objAdapter in colAdapters ...
Restrict Internet access hours
Surfergeek -
10 Aug 2006 3:27 AM - 3 messages
Can anybody suggest a script to apply to users in a domain which will disable Internet access during certain hours? I just can't seem to find the ability in creating a Group Policy towards this end. Thanks ...
PSH: How to change sort order of get-childitem
Kai Iske -
9 Aug 2006 8:05 PM - 7 messages
Hi, I'm rather new to PSH, but I wanted to change the default sort order of get-childitem to show containers first and then sort by name. So I thought I'd simply set up a function like function Get-ChilditemExt ...
regular expression help
dg -
9 Aug 2006 7:33 PM - 6 messages
hi i have a file that has data that looks like this bob jones123 Main St Suffern NY845-333-9848 tom caroll333 Elm St New City NY845-998-3827 to fix this in Perl, in a while <> I do this: ...
Copying street field in AD User account
ocean -
9 Aug 2006 7:24 PM - 4 messages
Hello friends: To simplify the process of creating users in Windows 2003 Active Directory, I have created 3 different User accounts and filled out all the fields and added them to appropriate groups(one for each department). Now, Everytime I ...
Local Admin Group
Sean -
9 Aug 2006 5:56 PM - 4 messages
Hi All, Im trying to figure a way to add a user to the local admin group via scripting... The tricky part is that i want the script to promt me for the name of the user to add. Is there a way to do this? ...
Script to ping
Glenn -
9 Aug 2006 12:36 PM - 8 messages
I'd like to create a script that could ping my switches and servers and send me an e-mail as soon as one goes down. Is there a way of doing this? Without bombarding the network with pings? ...
Moving data from Excel to XML.
RonS -
9 Aug 2006 11:44 AM - 2 messages
I would like to move data from an excel sheet to an XML doccument using a VBS script. I know how to identify the data in excel, but I don't know how to pass that to a subseqent line. ...
Event Log query
James -
8 Aug 2006 8:58 PM - 4 messages
Hello, I am working on a scripting project to streamline a task of mine. One of the components of my project needs to get the last 10 events in the Application Event Log that have the event ID# 1221 with the SourceName = ...
Updating Display Name and CN and DN
Space Junk -
8 Aug 2006 8:25 PM - 4 messages
Hello I have a script that is doing updates to user accounts, my issue is this: Lets say I want to delete the middle initial, no problem, I can clear the initials column, but the issue is becuase the display name, conical name ...
Making scripts work
martinc -
8 Aug 2006 7:46 PM - 5 messages
I am following Microsoft's instructions for managing my computers over the network with some scripting commands ...but I suck at it I guess because thie stuff I find on their site doen't work at all. How would one make this work ...
text file extraction
Mark1 -
8 Aug 2006 3:59 PM - 5 messages
I'm trying to extract every 13th line of a text file starting after line 20. So, extract line 20, then every 13th line after that. I can't get it to work just right and I also get the "Input past end of file" error message. Here's ...
Xcopy Continue (/C) switch
JoJo -
8 Aug 2006 10:09 AM - 10 messages
Folks: The Xcopy (Xcopy.exe) command has a "/C" as one of its switches. "C" means continue copying a file even if errors encountered." I am trying to copy a few 1Gig size files from a DVD to a hard disk. So far, ...
Shutdown multiple servers
PDIDY -
7 Aug 2006 2:02 PM - 2 messages
I found this script on this board and was wondering since I am a newbie to scripting, but very eager, how can I use this script to shutdown multiple servers. Is the first line the variable or does anyone know of another script ...
exact copy of files (also deletions) via command line
Andreas Wöckl -
7 Aug 2006 11:41 AM - 4 messages
Hi Group! I am searching for a commandline tool with which I can perform an exact copy of folders so that also deletions are synchronized. I can not use a sync mechanism as it has to be a one way copy. Ntbackup does not support the ...
Cmdlets
Sulaiman -
7 Aug 2006 9:31 AM - 2 messages
Hi Does anyone know where i can find a listing of Exchange 2007 cmdlets. I have gone to the following website, [link] It has individual commands and will cost me going to each link to find ...
simple batch file
bromo -
6 Aug 2006 7:11 PM - 2 messages
I'm trying to learn how to create a batch file that would allow me to copy one file directory to another file directory. Here's my batch file in nopebook: @echo off cls echo **** DirDup**** copy DirLst_whatsup.bat c:\yoyo.bat ...
Checking the availability of a URL with VBScript
neilsolent -
6 Aug 2006 10:29 AM - 2 messages
I am using CreateObject("MSXML2.XMLHTTP.3.0") in A VBScript, which calls open(), send() etc to check the status of a URL. The CreateObject() call and all the calls to the object are inside a loop. The problem I am having is, the status information is getting cached. ...
problem in uninstall update script
Maky -
6 Aug 2006 5:42 AM - 4 messages
I would like to get help for following scripts which i want to remove one of Windows Security update (KB912812) for example from remote PC. i have found the following scripts but it giving me error. could I get some advice please. ...
|
|||||||||||||||||||||||