|
server
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Scripting for Windows Servermicrosoft.public.windows.server.scripting
How change subnet mask at all my net computers?
Capitan Torpe -
9 Dec 2006 11:19 AM - 3 messages
We need change subnet mask from 255.255.255.0 to 255.255.254.0 How can I retrieve IPAddres from an script ? Thanks ...
Powershell File Redirection Standard Error Standard Out
cccstar -
8 Dec 2006 9:34 PM - 2 messages
I want to redirect the successful and unsucessful outputs of powershell commands in a my.ps1 file to an output text file that would represent a kind of session log. When I use psverb-noun >> foo.txt process it only seems to capture the ...
script for mapped drives
mcp -
8 Dec 2006 6:53 PM - 7 messages
hello everyone, can someone please tell me how to write a script which will delete any mapped drives on startup and then map relevent drives at the same time. for example i want to create a script that can do the following: ...
batch files and scripts
billk -
8 Dec 2006 6:49 PM - 3 messages
can I run a script within a batch file?? (.bat) ...
Trouble mapping drive to \MyOU\MyUsername Please Help
Kelvin Beaton -
8 Dec 2006 6:41 PM - 2 messages
I want to map a drive to \\<servername>\<ShareName>\TimeSheets\MyOU\MyUsername ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Set objSysInfo = CreateObject("ADSystemInfo") Set objNetwork = CreateObject("Wscript.Network") Set objUser = GetObject("LDAP://" & objSysInfo.UserName) If (LCase(objUser.Parent) = "ou=sales,dc=mydomain,dc=com") Then ...
Script Wireless card
Bad Beagle -
8 Dec 2006 4:15 PM - 2 messages
Does anyone know if it would be possible to write a script that could enable a wireless card and startup a vpn client? ...
How to send email when file changes?
freemann -
8 Dec 2006 2:50 PM - 11 messages
I would appreciate any help in this arena. Need to send an email when file on server changes. Server info: Windows Server 2003 R2 Enterprise Edition SR1 Thanks, freemann ...
Adding Printers Via Script
ParrotGuy -
7 Dec 2006 8:01 PM - 3 messages
Need to add 2 or 3 printers to several PC’s and set the default for each user to one main printer. ...
Script to read reg key
Bad Beagle -
7 Dec 2006 6:12 PM - 3 messages
Can someone please tell me if this is possible? I need to write a script that will check for a reg key, if the reg key has a value less than 5, then run the script and add the reg key, if it is not less than 5, exit script. ...
Coping files to new Sever
Doc33 -
7 Dec 2006 3:46 PM - 4 messages
Hello, I am working in the Windows Envi. We store files on a Server in a particular folder that usually fills up and we have to move those files to a new server manually. I would like to create a script that would move these ...
Adding Missing printer if they not there
poboy_n.o_style -
7 Dec 2006 3:30 PM - 8 messages
I am trying to set this up so that if the printers are already there it would skip it but it is not there that it would just add it. Some places have 5 or more printers. On error resume next ...
this has to be close... but it won't work.... please help
Kelvin Beaton -
7 Dec 2006 2:35 PM - 3 messages
I get the following error, ++++++++ Line: 8 Char: 4 Error: Object required: " Cose: 800A01A8 Source: Microsoft VBScript runtime error ++++++++ When running this script ------------------------------------- dim WSHNetwork, WSHShell Dim FileSysObj set WSHShell=Wscript.CreateObject("Wscript.Shell") Set WSHNetwork=Wscript.CreateObject("Wscript.Network") ...
Problem encountered when add user account
ryan -
6 Dec 2006 10:53 PM - 2 messages
Hey folks, I copy and pasted some scripts from the microsoft sample site and made a script to 1st make user account, 2nd move account into administrator group, 3 disable account. the only thing i changed was put a wild card into the ...
What is the equivelent to "net use * /delete /yes" in VBS
Kelvin Beaton -
6 Dec 2006 9:07 PM - 3 messages
I want to disconnect all mapped drives using VBS, what is the equivalent to "net use * /delete /yes" ? Thanks Kelvin ...
Question concerning disabling a local user through VBS
ryan -
6 Dec 2006 6:50 PM - 3 messages
Hey folks, i got a question concerning how to disable local user accounts on a windows 2003 system that is not part of a domain. After seeing the sample code provided by microsoft strComputer = "atl-ws-01" Set objUser = GetObject("WinNT://" & strComputer & "/Guest") ...
deleting files
Tom Reis -
6 Dec 2006 5:21 PM - 4 messages
I am running a application using Windows 2003 Enterprise edition with a application that puts temporary files into a directory. I want to run a script that will delete all the files except for the last two days.The file ...
Move complete AD
Wouter Melon -
6 Dec 2006 3:00 PM - 6 messages
Dear, I'm trying to find a way to move the entire AD structure to another DC. We need all the information that is in the original AD for our testlab. Can this be done with scripting? And can someone provide me with the script? ...
NIC speed
Carlos Felipe França da Fonseca -
5 Dec 2006 10:47 PM - 4 messages
I need to gather NIC speed information of many servers across the network, including if the NIC is configured as half or full duplex. I need to run it on NT/2000/2003 servers. Does anybody know how to do that? ...
VBS script to back up Outlook PST file
Ernest -
5 Dec 2006 9:42 PM - 3 messages
If anyone can help, I am looking for a vbs script to back up Outlook PST email file daily. Thanks. ...
"Microsoft VBScript runtime error: Object
pr0f1t -
5 Dec 2006 7:09 PM - 5 messages
I have a script that I am trying to run locally on one of my 2003 machines. I will be the first to admin that I am not a programmer, and no very little about VB. My issue is that when I run the script I get ...
Problems with the users privilegies on the start up commands sequency
Gregorio Aranda -
5 Dec 2006 2:49 PM - 3 messages
Hi everyone, Actually I have a domain over W2K Server, and, on the start up commands sequency, I want to run a .VBS Script with administrator privilegies on normal user's account. Somebody told me that the best way is to run the ...
Reading from Access, Writing To Text
Glenn -
5 Dec 2006 12:58 PM - 3 messages
Hi, I need to be able to read records out of an access database and into a text file. Can someone please point me to directions on how to do that. I can't find anything in the scripting repository. ...
ping to multiple computers
Avi G -
4 Dec 2006 8:20 AM - 2 messages
Hi, i need script that i can ping to multiple computers from a txt file my OS is Win 2KPRO so this script doesn't work for me strMachines = "atl-dc-01;atl-win2k-01;atl-nt4-01;atl-dc-02" ...
|
|||||||||||||||||||||||