Home All Groups Group Topic Archive Search About



Scripting for Windows Server

microsoft.public.windows.server.scripting
Score IIS
Ed Simpson - 3 Nov 2007 11:19 PM - 1 message
I am looking for scripts that will validate IIS settings such as, •    Log file location •    Log file type •    Client IP Address •    User Name ...
Score Recycle remote II6 application pools using WMI \ Powershell
Bill - 2 Nov 2007 10:01 PM - 1 message
I'm having some trouble finding the best method for recycling remote IIS6 application pools using PowerShell. In the past this has always been very easy using VB script: Function PoolRecycle(strServer)     On Error Resume Next     Err.Clear ...
Score Powershell template engine
vinod - 2 Nov 2007 5:16 PM - 1 message
Hi, i am looking for some templating engine for powershell. Does anybody know is there such thing available? I am trying to convert some python cheetah based templates into Powershell Thanks, Vin ...
Score How to find all mp3 files and delete them
Daniel Ivanov - 2 Nov 2007 3:16 PM - 2 messages
Hi, I am searching for a script that I will use like a logon script in my domain /using GPO/ to search for mp3 files on the client computers and to delete them. I find some scripts but they do not work correctly or search only in ...
Score Trying to copy files\folders to UserProfile\Application Data
Itencypt - 1 Nov 2007 9:14 PM - 4 messages
I'm trying to write a script for an SMS job that will copy files\folders to a users profile application data. How can I insure that the files\folders are copied to any users profile in C:\Documents and Settings excluding the ...
Score Exchange 2007 blank SMTP address issue
clathem - 1 Nov 2007 7:37 PM - 2 messages
I have an issue with OALgen on exchange 2007. Some users are not being published to the OAB. The exchange server logs show the following error: Event Type:    Error Event Source:    MSExchangeSA Event Category:    OAL Generator ...
Score NIC Speed Script
excepticons - 1 Nov 2007 3:52 PM - 2 messages
Hello. Please, can you help me to write a script for get the network card speed and duplex  (NIC config) on a local and remote windows machine, over the same LAN? We're thinking that not all workstations have 100Mbps Full Duplex, but we ...
Score Send email alert specifying when a specific file was modified
RD - 1 Nov 2007 12:50 PM - 1 message
I need to target a file on a server, and have an email alert sent every morning at a certain time, specifying to a certain user when that file was last modified or accessed. Is this possible? ...
Score WMI/VB Script to describe Exchange 2003 email header information
Satya - 1 Nov 2007 8:08 AM - 1 message
Hi, I need help to device a script that can read the header information of a message and display it. ...
Score WMI/VB Script to rename multiple computers in a domain
Satya - 1 Nov 2007 8:05 AM - 5 messages
Hi, I need help to device a script that can rename multiple computers in my domain. ...
Score List Group Memberships for users in a group
pecad00 - 31 Oct 2007 3:13 PM - 3 messages
Hello everybody! I need a list of members of a group and the list of group membership for every user in this group :-) I tried this script but it didnt work for me :-( On Error Resume Next Set objGroup = GetObject _ ...
Score configure scripts to run against a list of machines
Elliott Walker - 31 Oct 2007 2:57 PM - 2 messages
I have - and love to use - the scripts contained in the Portable Script Repository. However, my one question is this. Being a relative newbie to scripting myself, I'm not sure how - of if - I can modify any of the scripts ...
Score Log On To by script?
Milan - 31 Oct 2007 12:43 PM - 5 messages
Can I reset log on to information (computers) by script? Like Logon hours: Const ADS_PROPERTY_CLEAR = 1 Set objUser = GetObject _   ("LDAP://cn=MyerKen,ou=Management,dc=NA,dc=fabrikam,dc=com") objUser.PutEx ADS_PROPERTY_CLEAR, "logonHours", 0 objUser.SetInfo ...
Score Problem Running FTP Script Task
WebGuyBob - 30 Oct 2007 4:34 PM - 1 message
Hello, all. I am having a problem getting a command line FTP script to work in a Scheduled Task on a WK3 server.  The command works fine when run from the command prompt (when logged in as me [MYDOMAIN\bobr]).  However, when it is ...
Score Execute a batch file on remote host
Hulicat - 30 Oct 2007 4:16 PM - 4 messages
Running Windows 2003 R2 I need to execute a batch on remote Windows 2003 R2 machine. I have tried a number of things including rexec, etc. The goal would not to deploy any additional code to the remote host. Is there a way to this via Cscript?do I need to write a vbs script? ...
Score Can I install .exe setup file instead of .msi file type?
mtZalem - 30 Oct 2007 8:51 AM - 1 message
normally, the following is the code for installing the software Const ALL_USERS = True Set objService = GetObject("winmgmts:") Set objSoftware = objService.Get("Win32_Product") errReturn = objSoftware.Install("c:\scripts\database.msi", , ALL_USERS) In this case, i'm wondering to know that can i install .exe file instead of ...
Score Re: Monitor folder for file modification, creation or deletion usi
martin - 29 Oct 2007 11:23 PM - 2 messages
Great script. How would you add an email notification to something like this? ...
Score REXEC windows 2003 R2
Hulicat - 29 Oct 2007 9:54 PM - 1 message
I am having trouble utilizing "rexec" to launch a batch file on a remote server. I get a challange for credentials then I get a connection refused error. I suspect I need to intialize or start the daemon. How to I get this to work? ...
Score How can i design the script for running to setup an app client?
mtZalem - 29 Oct 2007 9:53 AM - 1 message
I'm using Windows Server 2003 and wanted to setup the application on the clients which on AD. Could the start-up script run .exe file from server on client side? in other way, could it check that does the computer already have ...
Score How to print to command prompt instead of pop-up window
Afsal - 29 Oct 2007 5:07 AM - 4 messages
Hi all,      Can any one help me with the below code. I want the output to be printed to the command prompt instead of poping up in a window. ==================================== dsRoot = "WinNT://RAC_MASTER/MUNAWAA" set wshShell = Wscript.CreateObject("Wscript.Shell") ...
Score Rename files Script
NW - 28 Oct 2007 10:31 PM - 3 messages
I guess this will take regular expressions. Would appreciate help to do the following: rename a file that has a GUID appended to the base name.  This happened after (arrrhhg!)  DFSR blew up and moved thousands of files to the ...
Next »