Home All Groups Group Topic Archive Search About



Scripting for Windows Server

microsoft.public.windows.server.scripting
Score CTP: Error using Get-Help
Cesar Garcia - 9 Nov 2007 6:15 PM - 2 messages
Hi, I've just installed Powershell CTP v2 on my Windows XP computer. I was following quick start guide by June, and wanted to run configure-wsman.ps1. Of course, I missed setting execution policy, and got my error. So I tried to ...
Score Creating local profiles for all AD users
Bartosz Kowalski - 9 Nov 2007 1:03 PM - 4 messages
Hello, When I login to PC as AD user, local profile (ie. folder tree in Documents and Settings) is created. Is it possible to do it by script? I need to do it for every user and computer in our AD ...
Score CTP: Security warning running profile
Huw Pendry - 9 Nov 2007 11:16 AM - 1 message
I've set-ExecutionPolicy to Unrestricted but I'm still getting a security warning and being asked to confirm whether I want to run my profile when Powershell starts. Am I missing something? (I'm using November V2 CTP on Win XP) ...
Score Reading from file - batch
abs - 9 Nov 2007 8:37 AM - 4 messages
Hi everyone. This is how my file containing list of users looks like (id username): 01 UserA 02 UserB 03 UserC .... I'm trying to write a batch file which could read the id of user whose name is passed as a parameter and save it to variable. I can find the line ...
Score Script to enable user access from Dial in tab in ADUC
Myinzu - 8 Nov 2007 5:39 PM - 4 messages
Is there a script to enable the allow access option in Dial in tab???  Thx in advance. -- myinzu ...
Score hello
morjo619 - 8 Nov 2007 1:03 AM - 1 message
hello ...
Score List all users from a different domain
Simon G - 7 Nov 2007 11:29 AM - 4 messages
Hello, I currently have several scripts which run in my local domain without any problems. One script simply searches the domain for all users and returns their attributes. I have tried to get this to do the same in a seperate domain in the forest, ...
Score how to modify dial-in property for a user account
£¤£¤£¤ - 7 Nov 2007 4:39 AM - 7 messages
I created a script to modify Dial-in property for a user account. ################################################################# Script: Set objUser = GetObject("LDAP://cn=username,ou=Test,dc=company,dc=com,dc=cn") objUser.Put "msNPAllowDialin", False objUser.SetInfo objUser.GetInfo Wscript.echo  objUser.Get("msNPAllowDialin") ...
Score writing text to a text file
kaverorzi - 6 Nov 2007 8:35 PM - 1 message
Hello. I am having trouble writing a script. What I am looking for is a script that will seach out a specific word, and replace all the text below that specific word. I want to write 10 lines of text below that word. ...
Score How to script Share Permissions
Steve Furniss - 6 Nov 2007 4:00 PM - 2 messages
I found a script that creates a folder for a user and sets ntfs permissions for the folder, and shares the folder out, but is also supposed to set the share permissions for the folder, however it doesn't seem to set them ? ...
Score Moving files from one directory to subdirectories
Seiduna - 6 Nov 2007 2:14 PM - 5 messages
Hello, i am newbie in Windows Scripting and I don't know how to solve this problem. I want to move set of *.eml files from one directory to subdirectories. Files have similar names such as: ARCH_2007110100_rest.eml ARCH_2007110100_rest.eml ...
Score interactive task with specific user/pw set
Joel - 6 Nov 2007 11:22 AM - 1 message
I want to create a job that runs in a specific user context AND is allowed to be interactive which would mix up at.exe and schtasks.exe features. I would prefer to set this insformation via vbscript. I know vbscript/wmi allows you to create jobs like at.exe but you cannot ...
Score Creating user's CN from Last and First name
Bartosz Kowalski - 6 Nov 2007 10:48 AM - 4 messages
Hi, Is it possible to create user with cn=LasName, FirstName ?? You can do it (by default) using AD Users management on W2K3 Server. How can I do it by VBscript? ...
Score Delete all files of certain type in folder and all subfolders
Matt - 6 Nov 2007 8:09 AM - 2 messages
I'm trying to make a .vbs script that will search a folder and all of the folders contained within for any files of a certain extension, and delete them. What I have right now is the text: Const DeleteReadOnly = TRUE ...
Score netsh dhcp context
Agostino - 5 Nov 2007 7:41 PM - 1 message
I've read that I can use the command netsh with the context dhcp, issuing: in order to administer a remote dhcp server. So i've installed adminpak for win2003 on my xp client, but when i issue dhcp, it says that the command is not recognized. ...
Score checking logon permissions of a group windows 2003
Larry - 5 Nov 2007 2:36 PM - 1 message
need to check group permission if they can logon from the network....??? Help ! ...
Score Script software install if certain hardware exists
Itencypt - 5 Nov 2007 1:00 PM - 3 messages
I am trying to write a script to check to see if the computer is a laptop and installs software if found.  Can anyone lend a hand? ...
Score Using Windows Script that Zip Files using Winzip
M P - 5 Nov 2007 7:55 AM - 6 messages
Is it possible? I need to zip files like in this scenario: C:\Backup\File1.doc C:\Backup\File2.doc C:\Backup\File3.doc Zip to C:\Backup\Folder1\Files.zip ...
Score Script to download email attachments to shared folder
Wowbagger - 4 Nov 2007 6:11 PM - 1 message
Is there any way to script a process that downloads all of the attachments within a pop3 mailbox, save those attachments to a shared folder and delete the emails in the pop3 box?  Preferable this can be scheduled to run even ...
Next »