Group:  English: Windows Server ยป microsoft.public.windows.server.scripting

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

Threads Replies Last Post
14 Pages: 1  2  3  4  5  6  7  8  9  10  11  12  13  14  
Scripts in Vista
Hi, I was trying to write a simple batch file in Vista, and discovered that I need to do these tasks in the form of a script. I have no experience with scripts. I felt pretty fortunate that I could get things done using batch files. I'm an old DOS guy. This is the task I need automated ..... del c:\users\public\public~1\cqgnet\temp\*.* del c:\users\public\public~1\cqgnet\private\...
6 04.05.2007 01:23:35
Modify distributiongroups to users
I need to transform 2200 distributiongroups to users. I can't find anything in Textpad or Technet, can anybody help me with a script. -- IT-Administrator...
3 07.05.2007 12:51:25
WMI script for password and calling it from web service
Hi there, I need to reset a password on a Windows server. The solution I was thinking of was to run a WMI script from the web server to the remote machine and get the operation completed and pass that to the client. I need to implement that using web services. Is there any sample code that I can look at to achieve this. Any help in this regard will be really helpful. Thanks JOhn...
1 07.05.2007 06:49:02
Consolidate event logs?
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 logs are consolidated in a file by type, "application logs" and "system logs". I don't need to get too deep, just server na...
6 06.05.2007 23:14:05
reading a "counter" file and incrementing based on # in file.
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. Any help would be greatly appreciated. ...
7 06.05.2007 12:48:01
Delete Files Based On Date
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 havent been able to come across a script that would work for us because a user may tranfser a file to the FTP server and if the script is based on the creation date then ...
6 06.05.2007 06:07:57
fire script in remote servers
i have two scripts A and B, i need to run B on a lot of computers so i use A to copy B to each server and execute it and repeat the same with the next server. but sometimes some compters dont respond to A properly, so it keeps trying and the script hangs there.. how can i avoid this?...
5 05.05.2007 22:15:44
Distribute Files from admin machine
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 network (not the servers) - Script has to copy the file in a specific location, if the location isn't there than check for another location. ...
3 05.05.2007 13:32:10
Determining What a Group Has Access To...
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. How can I, by script or other method, determine all/any resources assigned to a particular group? For example, I could enter "FindAssignedResources.vbs MA-Y...
3 05.05.2007 13:19:24
Sysocmgr.exe tool you can add or remove Windows components.
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...
3 05.05.2007 05:10:01
Finding files using a partial filename
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 cannot use the WMI 'LIKE' command. Help? Please?...
4 04.05.2007 14:40:00
DHCP
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 errEnable = objNetAdapter.EnableDHCP() Next That enables...
2 04.05.2007 12:32:47
Automating ActiveX MSI package update
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 found the following solution from Microsoft http://support.microsoft.com/kb/280579. Now, the problem is, the website that p...
1 04.05.2007 11:23:08
parsing DN for OU that is not parent object of user
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 Running a report and targeting all users in the "BBB" OU. Problem is that I need to grab the name of the "AAA" OU for each user as it pertains to their department (more accurate than what is on user object)...
4 04.05.2007 04:44:08
Printing to XPS Document Writer
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 system I am using). By using the Microsoft XPS Document Writer as my printer I can save the report as a "Print to File" XPS format. This is ideal as the user shoul...
1 03.05.2007 23:05:00
Running a logon script with Administrator privileges?
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 all our users are running XP SP2. Basically, the script opens a folder that the user's account doesn't have access to, deletes the file in it and copies the new file from the fileserve...
2 03.05.2007 16:30:19
Enable DHCp for DNS servers
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?...
1 03.05.2007 16:28:00
store WMI property value in variable
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...
2 03.05.2007 16:22:50
How to remote login
i am writing a windows vb script? i want to know how to login to the remove computer thru the script and run some commands in the remote computer?...
3 03.05.2007 15:32:13
REMOTE LOGIN & Data Extraction
i have 11 Servers. Server1 to server10 are standalone servers Server0 can connect to all these 10 servers.[more like a domain controller] i want my script to be in Server0 and it has to connect to each server [same uid and pass for all servers] and run the script and put the output in a text file and store it in server0. now i have worked a script which works on a stand alone machine a...
2 03.05.2007 15:31:54
Network Speed&Dublex
Hi everyone How do you network speed auto,100 mb full,half with script...
1 03.05.2007 13:34:00
Rename Computer
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 still getting the same error. I didn't write this script so I don't fully understand what it...
3 03.05.2007 02:51:26
Script to exercise network connections using Telnet
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.. Any assistance or advice would be greatly appreciated.. Luke ...
1 03.05.2007 02:16:30
script for running a file from the server
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 this case I am not sure where to start for. The file extension is .pat and the conditions are: If the file is already in the computer, update it if not run i...
3 02.05.2007 13:42:02
DSGET - where am I going wrong
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 The syntax I am putting in is as follows: dsget group "CN=6V,DC=ST-SCHOOL,DC=LOCAL" -members -expand I have tried without quotes,...
3 02.05.2007 12:05:20
14 Pages: 1  2  3  4  5  6  7  8  9  10  11  12  13  14  

Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net