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  
Add inventory in a database
Hi, I've tried to develop a script to do an inventory of programs installed on the PCs and the information gathered about it, its sending to a database. are there someone who help. best regards...
2 11.06.2007 16:21:51
script to change group membership using an input file?
I saw the below script example on how to modify group membership to clear a member list and add two users. How do i modify it to take an input file, where the input file is a CSV text file simply containing user ids. these user ids are already defined as users in AD, so I just need to add them as group members. The purpose of this is to modify the group memnership which in turns contr...
2 11.06.2007 15:57:38
Scripting for power scheme settings?
Hi, I wrote a little script to set the power settings of my user's computers but am having trouble getting it to work the way I want it to. Here is the script: powercfg /c cmw powercfg /s cmw powercfg /x cmw /monitor-timeout-ac 25 /disk-timeout-ac 0 /standby-timeout-ac 0 /monitor-timeout-dc 10 /disk-timeout-dc 10 /standby-timeout-dc 15 powercfg /h off powercfg /g off /option:res...
1 11.06.2007 15:23:55
Create Shared Folder and Modify rights (Share & NTFS)
Hello, I'm looking for a way to create a folder, share it with maximun allowed connections, for Everyone with Full control on share, and add AD users or groups with Modify NTFS rights on folder. I know how : - create the folder ; - share this folder with maximum allowed connection. But i don't know how : - Allow Full control rights on the share to Everyone buildin group ; - Add some...
1 11.06.2007 14:32:01
query Internet Explorer settings using WMI in VISTA & Server 2008
Hi I'm wondering if there is a way to query Internet Explorer settings using WMI in Vista? The following namespace in Windows XP & 2000 root\cimv2\Applications\MicrosoftIE Doesn't seem to exist in Vista or Server 2008. I want to make sure my script can work across Windows 2000 to Vista, is the only way to query Internet Explorer registry values? Anybody know why this isn't in Vis...
1 10.06.2007 00:26:00
vb script to query sql server?
This may not be in the right forum, but... I've got a nice little sql script which works fine, it has one variable which i change quite frequently. Is it possible to have a vb script display me with a prompt box, i enter the new variable, it then puts that into my already working sql script and queries the sql server and then simply returns the results? preferably as a csv file? ...
2 09.06.2007 01:30:10
Computer Accounts and Member Of info
I'm looking for a way to make a list of all computer accounts in our Active Directory and all groups they are member of. I found the script in the repository to build a list with all computeraccounts, but i would like to add all groupnames a computeraccount is member of. E.g.: computer1, group1, group2, etc. computer2, group1, group2, group3, etc. Products used: W2K AD and WINXP SP2 c...
3 08.06.2007 14:17:02
Clearing DNS Suffix search order
I found the following script to set the DNS Suffix search order. What I want to do is clear those entries and select the "Append Primary and connection specific DNS suffixies" and the "Append parent suffixies of the parent DNS suffix". I could not find any connection between those two check boxes in the interface under the DNS tab and being able to set them. Any help would be appreci...
1 08.06.2007 13:47:04
Intermittent LDAP 'Table not found' error
We have a "classic" ASP page running on IIS 6 server, Win2003 server which querries AD for information for string of a user name passed. This page is called from a page that runs under the user's security (anonymous access disabled) but then this page has anonymous enabled with a LAN id credentials stored with the properties of the page (not passed via code but rather in the IISMGR GUI)...
3 08.06.2007 13:08:02
monitor for file creation using variables
Greetings, I am fairly new to scripting so pardon me if this posed incorrectly. I want to monitor a folder for a file to be modified which sounds easy eough and i found the script below to do that task. However, the file that i am monitoring will have a different name based on the current date i.e. CAS_%YEAR%%MONTH%%DAY%.log the file for today would be CAS_20070607.log. Is it possible to...
2 08.06.2007 11:58:16
Can I send email from a web page without configuring server?
I've got a site hosted downstream from 1&1 hosting, and the administrator who set me up is unreachable right now. I need the capability of sending email from a web page...but as far as I can see, I can't locate any CGI, ASP, PHP, etc. programs on my web server. Even though the control panel I have access to has them checked as enabled. I believe it's a Windows server since there are Frontpage...
1 08.06.2007 02:43:26
print al pdf files in directory (win xp pro)
we've got a lot of large pdf files in a directory. they take a long time for printing and we have only one a3 printer. is it possible to write a script, so we could automatic print all the pdf files in the specified directory to print by night? I hope someone could help me. ...
3 07.06.2007 19:39:39
Remote software installation using domain id and password
Hi someone help me in getting script for installing software on remotes pc. using adminid and password . Similar to runas but password should be hardcoded...
2 07.06.2007 19:35:59
Script to Advice when a file is copy
Hello, I already have the script that copy file to one location to another, but i need a script to advice when the copy is done. Thanks Diego...
2 07.06.2007 19:34:09
Change password and change at next logon
This script will change the password and set the account to change the password at next logon for a group of users listed in my text tile. I want to change it so it ONLY changes password for users that have that option checked already. I don't want it to change the password for users that already have logged in and changed their pswd. I though I could add this but it doesn't work: "If ...
2 07.06.2007 19:32:01
Thank you
Al and Richard, Thanks for your answer, now I can start with scripting. I'll let you know when I finish some script Best regards, Jurgen Heijnen, Netherlands...
1 07.06.2007 10:30:00
find files which contains certain string
Hello scripters, Can someone help me creating a script which search for files which contains a certain string in the filename. the files are placed in 1 directory and there names differ, an example: 2383737.2006.01.csv of 4443335.2007.04.csv. Now I need to search the directory for the filename which contains the string "2007.04", which stands for "april 2007". Can somebody help or get ...
6 07.06.2007 07:36:01
Enumerate members of all groups within a specific OU
I can find several scripts to enumerate members of a specific group, but nothing to parse all groups in an OU and output members of each group. Ideally, I would like to output group name, group description and (nested) group members to a .csv file (with each group as a column). My first attempts used dsquery & dsget but I could only get either a list of groups OR a list of members. Usi...
3 06.06.2007 16:12:03
Move My Documents Folder.
I need some help, I've just moved into IT Support for a small(ish) company and we are looking to make some improvements to our system. What I am looking to do is move the My Documents folder on each machine connected to our domain to a file server which is regularly backed up. And if possible within the same script move the contents of the My Documents folder to the same directory. ...
14 06.06.2007 13:52:10
Need to modify Permissions on Registry Key and all subkeys from th
I am tasked with writing an admin script which will modify the service account and various Files/Folders, and registry key permissions to allow a named instance of MSDE to run as Local Service instead Local System. I am still unsure which script commands I will need to change permissions on a registry key and how to propagate them to subkeys....
1 06.06.2007 10:24:01
Printing
Hello, I would like to create a vbscript that will scan a set of folders for the existance of PDF files and print to different printers depending on which folder the PDF files are in. Can anyone help with this? thanks ...
1 05.06.2007 14:34:57
Create a scheduled task which runs at startup?
Hi together, i'm currently searching for a way to create a scheduled task that should run when windows starts. I took a look at the sample for the Win32_ScheduledJob-Create-Method, but I think, this method can only create tasks with given times and not with a "at startup"-flag. (http://msdn2.microsoft.com/en-us/library/aa394399.aspx) Does anyone know a solution or can give me a hint...
5 05.06.2007 13:25:00
find user object in AD
I'm trying to create a script to find a user object in AD anche change its status to disabled . The problem is that I found only exmaple in which the OU in which the user resides is known . As in Set objUser = GetObject _ ("LDAP://cn=MyerKen,ou=Management,dc=NA,dc=fabrikam,dc=com") This is useless , however , because we cannot know where the user is . So I found another example...
3 05.06.2007 11:36:33
Delete Members of groups from a script
Is there any script around that will allow me to read a text file (or excel) and remove the names on the list from an Active Directory group. I have hundreds of user's to remove from a Group and don't fancy removing them 1 by 1. Any help appreciated. Gary...
3 05.06.2007 10:03:00
Groups and associated smtp addresses
I'm trying to a list of all groups in AD and their associated email address. I used dsquery to the list of goups but I need email addresses as well. Your help is appreciated.http://www.microsoft.com/wn3/aspx/postui.aspx?query=group&cat=en-us-technet-mgmt&lang=en&cr=US&guid=&sloc=en-us&dg=microsoft.public.windows.server.scripting&base=http://www.microsoft.com/technet/community/newsgroups/dgbr...
2 05.06.2007 09:58:02
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