Home All Groups Group Topic Archive Search About



Scripting for Windows Server

microsoft.public.windows.server.scripting
Score Script to schedule a task
Shane Smith - 6 Oct 2006 11:40 PM - 4 messages
Hello all, i'm new and experimenting with windows scripts, loving it so far. I'm looking to create a script that schedules a task for example to shutdown the pc at the schedules time. This script will be put into a group policy ...
Score Remove local user from local group
Maurice1972 - 6 Oct 2006 9:22 PM - 3 messages
Because of new security guidelines we applying, we're trying to create a script to remove the "Authenticated Users" account from the "Power Users" group on the local machine.  Unfortunately, I haven't been able to make it work. ...
Score HELP! Mismatch is killing me!
Marcus Cotey - 6 Oct 2006 9:01 PM - 2 messages
I am writing a script to manually uninstall some old legacy software and I need to delete some files from C:\Documents And Settings\UserProfile\Start Menu\Programs\Some Program but I keep getting mismatch errors. Here is the code: ...
Score Error 800A000D Type Mismatch
Marcus Cotey - 6 Oct 2006 8:51 PM - 2 messages
Hello everyone!  I am writing a script to manually uninstall some old legacy software and part of the file structure I need to delete resides in the user profile. Anyway I keep getting a Type Mismatch error. Here is the code: ...
Score i would like to search an entire OU of groups for a specified user
scott - 6 Oct 2006 7:41 PM - 2 messages
i would like to search an entire OU of groups for only the groups a specified user is a member of.  i can do this either using an input file for the group names or by searching through the entire OU. ...
Score search a list of AD Groups for a specified member.
scott - 6 Oct 2006 7:38 PM - 2 messages
i have a list of about 1000 groups for which i would like to find a specific member. i would like to do this in 1 of 2 ways... i have a file that lists all the groups to search in but can't figure out ...
Score [PS] Get-WmiObject Piped to Where-Object Failing
Trevor Sullivan - 6 Oct 2006 12:09 PM - 5 messages
Good day everyone, I have a question regarding Windows Powershell. I'm trying to run a query on the Win32_Product class within the root\cimv2 namespace of WMI to retrieve the version number of a product. I am running the following ...
Score Alternet credential to my script but it is not using credentials
Albert Sanchez - 5 Oct 2006 11:25 PM - 2 messages
I'm using a script to check the current logged on user on a remote machine.  The basic script that checks the logged on user works it is not using the supplied credentials.  Below is the script in its entirety.  I am using a ...
Score AutoShutdown
neadom - 5 Oct 2006 1:51 PM - 3 messages
Hello all I am not a scripting GOD bya any means. I understand the basics of scripting in BAT and CMD files.  I am trying to run a script to shutdown and rebood 4 computers on a W2K3 domain.  Really small ...
Score Deleting files from a network share and keeping a copy in the Recy
awd - 4 Oct 2006 10:17 PM - 2 messages
Can anyone tell me if it is possible to delete files on a Windows 2000 Server share and have the files sent to the Recycle Bin? I have a user who scans very large documents to a share on the File server. At the end of the day, ...
Score Delete Old Profiles
Andrea - 4 Oct 2006 8:48 PM - 5 messages
Found this VBScript online. Its exactly what I need to clear old Profiles on our Citrix Environment. I am new to VBScripting and am unable to resolve the flow of the script. I get the 800A03F6. Did some research and am still not ...
Score Regd: WINTEL server scripting
razheev - 4 Oct 2006 7:39 PM - 2 messages
Hi, I am new to this WINTEL world. We use PowerEdge 2550 Machine and running windows 2000 Server. We have an FTP Server client on it. I want to do couple monitoring things 1) Script to Check (alerts) to see if the WINTEL and FTP server is up ...
Score script to force all users to change their password the next time they logon
Sergio G. - 4 Oct 2006 5:12 PM - 2 messages
Hello, I've got a W2k Server and I have got this script to Force a user to change their password the next time they logon. ---- Script Code Set objUser = GetObject _ ("LDAP://CN=myerken,OU=management,DC=Fabrikam,DC=com") ...
Score Del folders.
Peter F - 4 Oct 2006 4:03 PM - 3 messages
Hi All, Please could someone help. What was supposed to be a simple 2 liner batch job has turned out to be a bit of a nightmare. I am attempting to delete files and directories from c:\user\documents and settings\ the files delete successfully using the del ...
Score Put users in a group
Jojo Langelot - 4 Oct 2006 9:44 AM - 2 messages
Hi, I've spend some hours on a script that creates users from an Excel sheet and there's one last thing I can't solve by myself : I need to put all the users from the list in the same group. My script goes like this : ...
Score start powershell question
ScottW - 3 Oct 2006 10:59 PM - 3 messages
I am just starting to use powershell and when I start it from the program files I get the c:\documents and settins\MY PROFILE which is about 20 charectors long.  I saw a web case and in the demo's the person always ...
Score Active Directory Account Creation
Macn27 - 3 Oct 2006 8:45 PM - 2 messages
Hello, First off, thanks for taking the time to look at my question! I am in the process of writing a script that creates user accounts and I am having problems when it comes to the name that is created for the account and ...
Score Access scripts in "Community Submitted Scripts" by Kent Finkle Q2
David Schrader - 3 Oct 2006 6:36 PM - 3 messages
Kent, Two questions, one each addressed in a message to this NG as directed by the web page at the Microsoft site. Wish I'd been able to do this via e-mail to reduce network traffic. I've downloaded all of your scripts which show how to create ...
Score Access scripts in "Community Submitted Scripts" by Kent Finkle Q1
David Schrader - 3 Oct 2006 6:35 PM - 3 messages
Kent, Two questions, one each addressed in a message to this NG as directed by the web page at the Microsoft site. Wish I'd been able to do this via e-mail to reduce network traffic. I've downloaded all of your scripts which show how to create ...
Score I need VSB script who can make multiple accounts on win2000 from Excel or othere database type
Duncan - 3 Oct 2006 1:49 PM - 3 messages
Hi all. can someone help me with this, I need VSB script who can make multiple accounts on win2000 from Excel or othere database type, because i need to add many account i would like to automate this by using scripting, thanks for your help, ...
Score Script for command calculate
Avi G - 3 Oct 2006 7:30 AM - 4 messages
Hi, i'm trying to write a simple script for the console command that calculate two numbers,the script need to ask the user what mathematical option do you want that follow by numbers for Example: press 1 on keyboard for +,press 2 ...
Score Automate email attachments
d.gwala - 3 Oct 2006 5:00 AM - 2 messages
Afternoon Everyone, I have a scenario where I have a number of customers, ie. CustomerA, CustomerB, CustomerC.  Every month I need to send an email to each customer, and attach a report specific to each customer.  The email ...
Next »