Home All Groups Group Topic Archive Search About



Scripting for Windows Server

microsoft.public.windows.server.scripting
Score sending scripts to customers
Steve Mekhi - 24 Jun 2006 1:40 PM - 8 messages
hi, does anyone have any good methods that they use for sending scripts to non-tech savvy customers? these days with all the added security features of mail clients, in particular MS Outlook, it will automatically block or strip vbs and bat ...
Score Delete *.mp3 files throught logon script
Luis Fernando Vargas Díaz - 23 Jun 2006 3:24 PM - 2 messages
Hi all, I want to delete all *.mp3 files in a workstation ( C:\, D:\) throught GPO logon script in Small Business Server 2003. Any Idea?? ...
Score On Error Resume Next(vbs) = ? (jscript)
ssssssssssss - 23 Jun 2006 1:40 AM - 3 messages
How to make the same founctiong with "On Error Resume Next"(vbs) in Jscript?? Thanks! ...
Score Checking network connection status
Talouin - 22 Jun 2006 7:41 PM - 3 messages
I am attempting to use VBScript (I'm very very new to it) to check to see if i'm connected to the internet.  I was wondering if there is a way to do this without utilizing a ping test or checking against an IP. ...
Score Using for .. in with WScript.Arguments.Named in javascript.
acwomble - 22 Jun 2006 3:30 PM - 4 messages
I have an existing .wsf file written in jscript and need to improve the way the named args are handled. I want the script to catch unsupported arguments (misspelled args, hoped for args, etc) and give the user some feedback. ...
Score Put vbscript functions into dll files
TomKing - 22 Jun 2006 7:00 AM - 3 messages
My vbs files just become bigger and bigger. Not sure if I can put those functions into dll files or not. Could someone give any suggestions? ...
Score Put vbscript function into a dll file
TomKing - 22 Jun 2006 6:55 AM - 3 messages
My scripts just got bigger and bigger. Thinking to put the functions into some dll files. Is there a way to do so? ...
Score script doesnt work as expected on windows server 2003 sp1
Mike - 22 Jun 2006 3:03 AM - 3 messages
The script below works perfectly on Windows XP SP2 but when run on Windows Server 2003 SP1, it runs error free but doesnt actually do what it supposed to. It doesnt find the excluions nor does it delete any file. the folder ...
Score longhorn
James - 22 Jun 2006 1:37 AM - 3 messages
sorry i know this is not supposed 2 be here, but i don't seem to b able to find the newsgroup for longhorn in microsoft. Pls advise as i want to test out scripts using longhorn beta 2 ...
Score Script to copy all mapped drives and network printers and them import them to another computer.
brock_griffin - 21 Jun 2006 7:17 PM - 4 messages
Hi all.  I'm not sure if I can do this or not, but I'm looking for someon who has a script to share, or input on how to help me tweak a script I have.  The script right now enumerates both network drives and ...
Score Automatic custom filtering
Noventta - 21 Jun 2006 2:17 PM - 3 messages
Hi all, I want to make a filter in a MMC that will be based on the user currently logged in. I tought of a script to make the LDAP query required for the filter by getting all of th e groups "managed by" (the object attribut in ...
Score Executing external exe (VBScript)
Zamdrist - 21 Jun 2006 1:21 PM - 4 messages
There isn't a way to execute an external .exe or .cmd from VBScript, correct? ...
Score PowerShell not possible in Core server due to no CLR...
toast - 21 Jun 2006 11:46 AM - 4 messages
When I learned about this from the TechNet forums I could not believe that a fantastic new CLI was being stopped dead in its tracks by the fact that it is not being supported in the new Core server platform. I was dumb-founded. How ...
Score Domain Client taking too long to boot a computer
HJ Lee - 21 Jun 2006 2:40 AM - 3 messages
After joined to a domain, a client machine taking too long (15 to 20 min) to boot.   Of course, we have group polices, but not abnormal. The Network link is also excellent, but it just takes too long.  When I ...
Score powershell copy-item -recurse -exclude issue
aaronjensen - 20 Jun 2006 5:50 PM - 3 messages
Hi, It seems that if you do a Copy-Item with the recurse flag, that any exclusions you do via exclude are ignored for directories below the current.  Is this by design or is it a bug?  If it's by design, what is ...
Score Event log could not be backed up when pulling Seclog
Scott Kolesar - 20 Jun 2006 5:20 PM - 3 messages
I used the 'backup and clear' script to pull Event Logs from my workstations. However, while applog and syslog were successfully pulled, I got "The Security event log could not be backed up" each time I tried to pull the ...
Score Password notifications
Brian - 20 Jun 2006 4:20 PM - 3 messages
I have written a script to send an email to our administrators when a user's password is about to expire (within 14 days) for Active Directory. Unfortunately, I am having a bit of trouble getting the user's account name ...
Score How can I check %time% for a process to run
Jdjohns - 20 Jun 2006 1:30 PM - 3 messages
I may have to swtich to VBS from DOS batch files to do this, but I wanted my process not to run if the system time is earlier than 2PM (14:00:00:00 p).  I am hoping someone will have mercy on my ignorance.  Thanks.  I thought that ...
Score using WMI to determine IP addresses of Green and yellow FTE
Irish girl brid - 20 Jun 2006 8:28 AM - 3 messages
Hi I'm trying to use Powershell and WMI to determine the IP addresses of some servers on a network. I can get the IP addresses using get_wmiobject win32_networkadapterconfiguration | select-object IPAddress. Because the servers are using FTE, I would like to know which of the ...
Score fixboot and fixmbr not working
William Hymen - 20 Jun 2006 2:09 AM - 4 messages
I installed Linux on a second partiton on my Windows laptop. Linux installed it's own boot loader called grub. I attempted to fix the boot loader back to Windows with the Win2k CD recovery console using fixboot and fixmbr, but no luck! ...
Score Dumb Quest - how to check TIME in batch file
Jdjohns - 19 Jun 2006 9:21 PM - 3 messages
I don't know much, but I want to check for %time% before running a process.  Would someone please give me a clue.  IF %TIME% LSS 14:00:00:00 GOTO ... doesn't work consitently.  Thanks. ...
Score Running an MSI file on a remote machine
brock_griffin - 19 Jun 2006 9:11 PM - 7 messages
I have a script that checks remote computers for the latest update for a software package.  If the update is not on the computer, I want the script to record the comptuer name to a file, and then copy a MSI file ...
Score Permission denied
Rich - 19 Jun 2006 4:25 PM - 6 messages
I have a VBScript file that I am trying to execute on a scheduled basis via a Scheduled Task.  This script is a little different that others I've written in that it inserts records into a database table.  The ...
Score Delete objects older than x days
Mike - 19 Jun 2006 2:09 PM - 5 messages
Hi, I'm after a script to delete files/folders that are older than 10 days (creation date) from a specified path.  The path also contains two subfolders that I would like the script to completely skip (including their contents). ...
Score Scripting for mail box clean ups
ozzie - 19 Jun 2006 5:49 AM - 2 messages
We would like to be able to automatically move mail older than some date out to an archive folder on the users home drive, and add a link to that folder in Outlook, all within a Citrix environment.  Only the first bit is really ...
Score AD user home folder creation
Pete Gomersall - 19 Jun 2006 3:42 AM - 3 messages
Hi all, Is the anyone out there who can answer this one? When you create an AD user, using the GUI and specify a home folder in the following manner: \\server\sharename\folder\%USERNAME% then the folder is created if it ...
Score creating/changing shortcuts from PowerShell
Newser - 18 Jun 2006 5:34 PM - 3 messages
I need to manipulate file and folder shortcuts from within PowerShell and haven't been able to figure out how. Specifically, I need to:  1) identify the full path/file name of the target of any shortcut.   2) create shortcuts to files & folders ...
Next »