Werbung: SecurityConsole.de verwaltet Ihre Computer mit Security Essentails aus der Cloud!
30 Tage kostenfrei testen und 20% Rabatt für Ihre Bestellung mit Promocode: WBF2685582
(Promocode gültig bis 31.12.2011)

Group:  English: Windows Server » microsoft.public.windows.server.scripting

HTVi
TV Discussion Newsgroups

Threads Replies Last Post
17 Pages: 1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16  17  
Static IP Address
Anybody know how to modify the sample script to allow for a machine with multiple network adapters? I pulled down the following code from the script repository: strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set colNetAdapters = objWMIService.ExecQuery _ ("Select * from Win32_NetworkAdapte...
1 6/11/2007 9:46:00 PM
Move client printers to different print server
Hi there, we have a print server that need to be decommisioned. The problem being that there is about 700 desktops on site that need to be re-mapped to the new server we installed. We can migrate the printers between the server using Microsoft's print migrator, but how do we migrate the printers on the client side. Management does not want to pay for a 3rd party, 'cause anything can be...
5 6/11/2007 8:57:00 PM
which machines in domain are logged on
I'd like to find a way to determine which machines in our domain have a user logged onto it. I can get the information using the sysinternals tool, psloggedon if I recurse thru my entire domain (host by host) I'm even willing to do that if I could make the output pretty. In a perfect world, I'd make the output a webpage. Attacking the problem from another angle, I was hoping wmic might ge...
1 6/11/2007 4:57:48 PM
Text File Compare
Folks: I have 2 separate text file each containing a bunch of IP addresses. The first text file (TextIP-1.txt) contains 100 IP addresses; list 1 below the other. The second text file (TextIP-2.txt) contains 56 IP addresses; listed 1 below the other. I am look for a script that would allow me to compare the content of these 2 text files & identify those overlapping IP addresses that...
11 6/11/2007 4:46:03 PM
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 6/11/2007 4:21:51 PM
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 6/11/2007 3:57:38 PM
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 6/11/2007 3:23:55 PM
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 6/11/2007 2:32:01 PM
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 6/10/2007 12:26:00 AM
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 6/9/2007 1:30:10 AM
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 6/8/2007 2:17:02 PM
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 6/8/2007 1:47:04 PM
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 6/8/2007 1:08:02 PM
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 6/8/2007 11:58:16 AM
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 6/8/2007 2:43:26 AM
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 6/7/2007 7:39:39 PM
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 6/7/2007 7:35:59 PM
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 6/7/2007 7:34:09 PM
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 6/7/2007 7:32:01 PM
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 6/7/2007 10:30:00 AM
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 6/7/2007 7:36:01 AM
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 6/6/2007 4:12:03 PM
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 6/6/2007 1:52:10 PM
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 6/6/2007 10:24:01 AM
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 6/5/2007 2:34:57 PM
17 Pages: 1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16  17  

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net
Suche nach Orten, Städten, Postleitzahlen, Vorwahlen, Kfz-Kennzeichen