|
server
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Scripting for Windows Servermicrosoft.public.windows.server.scripting
Consolidate event logs?
Steve Gould -
5 May 2007 4:30 AM - 6 messages
Here is what I am trying to accomplish. I want to specify a text file to a script that has the names of servers to access. The script will grab all warnings and errors from the app and system logs for a specified time frame, say last 24 hours or something. Then the ...
DHCP
Ricard Escamilla -
4 May 2007 11:33 AM - 2 messages
I have this script: strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set colNetAdapters = objWMIService.ExecQuery _ ("Select * from Win32_NetworkAdapterConfiguration where IPEnabled=TRUE") For Each objNetAdapter In colNetAdapters ...
Automating ActiveX MSI package update
Sriprinks -
4 May 2007 11:23 AM - 1 message
I am new to AD. I have an activex MSI package that is published in AD for automatic installation when users with domain user rights visit a particular site. This is because our users do not have admin previleges and hence activex installation does not happen. Hence we ...
Mailbox Rights
Carlos Felipe França da Fonseca -
4 May 2007 2:26 AM - 1 message
Is there a way to read the "mailbox rights" of all users in my Active Directory using vbscript or another tool? Thanks!!! Felipe ...
Printing to XPS Document Writer
KRose -
3 May 2007 11:05 PM - 1 message
I have a GUI that creates a report in a style similar to Word. To keep all the formating, I send the report directly to the printer without saving it as a text file (the only form available for saving the report to file in the ...
Finding files using a partial filename
BigBadJohn -
3 May 2007 6:35 PM - 4 messages
Folks, I am looking for a way to search a directory for files which contain a specific string of characters (such as "test" or "msdn") anywhere in the filename. I am trying to use this script on a Win2K Terminal machine, so I ...
Enable DHCp for DNS servers
Ricard Escamilla -
3 May 2007 4:28 PM - 1 message
I want to enable DHCP for DNS server in mi AD, but i haven't find a policy or script to do it, can someone help me? ...
Running a logon script with Administrator privileges?
erronen -
3 May 2007 2:22 PM - 2 messages
Recently, I've had to add a script that runs at logon for all our users that removes a file from a protected folder and replaces it with a new one copies from our fileserver. Our server is Win2k3 with AD and ...
store WMI property value in variable
Mecha77 -
3 May 2007 2:06 PM - 2 messages
Hi, I made a WMI query to get the IP address of the local machine. I'd like to know how to assign the address property to a string variable so I can manipulate it. Thanks ...
Network Speed&Dublex
Serkan SEVİNÇOĞLU -
3 May 2007 1:34 PM - 1 message
Hi everyone How do you network speed auto,100 mb full,half with script ...
Distribute Files from admin machine
Remco -
3 May 2007 9:15 AM - 3 messages
Hi everybody, I'm a newbie with scripting. Does somebody have a script that i can run from an Admin Workstation (because of the credentials) that has the following features: - Script has to distribute a file accross all Client computers on the ...
Script to exercise network connections using Telnet
Luke Goode -
3 May 2007 2:16 AM - 1 message
All, I am trying to write a script at the moment that can be used on a statically defined machine on my network to exercise network connections through my stateful packet inspecting firewall.. These connections are across multiple port ranges to multiple end connection points.. ...
Delete Files Based On Date
Brennan -
2 May 2007 8:31 PM - 6 messages
We are trying to come up with a way to delete files based on how long they have lived in a folder. In our case our FTP server. With so many of the scripts being based on Creation Data, Modified or Last Accessed Date we ...
Determining What a Group Has Access To...
Dave D. -
2 May 2007 6:27 PM - 3 messages
I've inherited an AD domain and servers with MANY groups - a lot of which are likely obsolete (for example, "MA-Y2K"). I'd like to whittle down the list by finding if there are even resources assigning permissions to certain groups. ...
send a keystroke in rdp
h3ll b0I -
2 May 2007 4:08 PM - 3 messages
when i use a rdp file to connect it prompts for an "ok" dialog box after clicking on that it prmopts for UID and pass to authenticate? how do i give the ok click in the script itself or in rdp file itself ...
Rename Computer
Mike -
2 May 2007 2:16 PM - 3 messages
Hello, I'm running the script below to rename computers in a domain from a comma separated list. I'm getting an error (8007200E) "The directory server is busy" when it gets to objComputer.Put "sAMAccountName",newname&"$" I've tried it at different times of the day when the server is not busy but ...
msrdp in vbs
Miztiik -
2 May 2007 11:28 AM - 7 messages
is it possible to use the windows remote desktop connection in a vb script? if so can anyone help me with that.. i found that i can be embeded in awebpage [link] ...
A script to force a USB device to a drive letter
stuarth -
2 May 2007 8:24 AM - 1 message
Is there a script for forcing a removable storage device like a USB drive to always be a particular drive letter when a user plugs it into a Server? I find that in Windows 2003 standard R2 if I plug in one of 5 usb ...
DNS record details from AD
Brimble -
2 May 2007 7:34 AM - 1 message
I'm looking after a fairly large enterprise system with a few thousand Desktops and several dozen servers. There's a number of W2003 Domain Controllers distributed around various sites, providing DNS support. Most of the Desktops/Laptops use DHCP, the servers are generally static. ...
parsing DN for OU that is not parent object of user
Sport -
1 May 2007 9:49 PM - 4 messages
Script target is: OU=BBB,OU=CCC,OU=DDD,OU=EEE,DC=FFF,DC=GGG,DC=HHH,DC=III,DC=JJJ Typcial user is: CN=Test,OU=ZZZ,OU=AAA,OU=BBB,OU=CCC,OU=DDD,OU=EEE,DC=FFF,DC=GGG,DC=HHH,DC=III,DC=JJJ ...
reading a "counter" file and incrementing based on # in file.
mjm -
1 May 2007 8:51 PM - 7 messages
I would like to have a script open a file (the file will only have a single number in it). If it sees a 1 or 2 it should increment the number by 1 - a 1 becomes a 2 2 becomes a 3. If it sees a 3 it should reset to 0. ...
DSGET - where am I going wrong
Jingle Man -
1 May 2007 3:16 PM - 4 messages
No matter what I have tried I cannot get a DSGET query to work for me. I'm running a simple network with two 2003 DCs SP1 & a memebr server. The domain is called ST-SCHOOL.LOCAL All I want is to get a list of user IDs and full names from a group called 6V ...
Automatic Creation of LocalGroups?
Will -
1 May 2007 7:14 AM - 1 message
We have some local groups that we refer to in our group policy, so I need to make sure those groups are created on every computer that belongs to a domain. I created a system startup script in group policy to create these ...
CScript/WScript broken?
Colin Bowern -
30 Apr 2007 10:13 PM - 2 messages
When I run CScript.exe/WScript.exe on my Windows Server 2003 x64 SP2 machine it returns nothing and doesn't want to run any scripts. I can give it garbage input and it still just returns to the command line. There is ...
Save input to the file
matros -
30 Apr 2007 6:16 PM - 1 message
I'd like to save all the commands I type into cmd window to the history log file. Complete list of input commands. doskey /history show some commands but not in the right order. How can I do that? ...
Sysocmgr.exe tool you can add or remove Windows components.
Ersin INAN -
30 Apr 2007 12:44 PM - 4 messages
Hi All, I am trying to add "Management and Monitoring Tools" component using Sysocmgr.exe with a script. If you could help me on this, I really appreciate this. This is very urgent, Regards, Ersin ...
script for running a file from the server
Paloma -
30 Apr 2007 11:42 AM - 3 messages
Hello, I need to run a file from the server to all the computers on the Domain, I was wondering that if I can do it with a simple script. I used one script before to change all the postal address for all the user on the AD, but in ...
|
|||||||||||||||||||||||