|
server
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Scripting for Windows Servermicrosoft.public.windows.server.scripting
Find Multiple computers OU and move them to a known OU
Sean McQ -
15 Sep 2006 3:40 PM - 2 messages
On the Hey Scripting Guy column a little while back, I found a script that finds the OU of a computer and moves it to a known OU. How would I go about modifying it to accept a text file as an argument ...
lis files in a folder and subfolder
Glenn -
15 Sep 2006 1:18 AM - 3 messages
I'm trying to write a script that will list all of the files in a folder and its subfolders in an excel file. I've had some success. I can get the files in the root folder, but not the ...
Context sensative editor
Randy -
14 Sep 2006 9:45 PM - 5 messages
I would like to do some scripting, but would like to have a VB sensative editor to use. How do people edit scripts? Regards, Randy. ...
script needed to disable inactive accounts on non-AD server
mitchell.chris -
14 Sep 2006 6:06 PM - 2 messages
I am searching for a script/program to disable any account that is inactive for a period of time (45 days). I have seen many that will query the AD to get this information, does anyone know if it can be ...
registry key
newbee -
14 Sep 2006 3:57 PM - 2 messages
i am a network admin and am new to scripting. i need to right and deploy a script to modify a registry key on local machines. ...
Delegating AD Rights (Enable/Disable Accounts)
Sam Gaw -
14 Sep 2006 2:05 PM - 4 messages
I'm in the middle of trying to work out how to delegate control over user accounts in AD to non-admin staff so that they will be able to enable & disable guest accounts within a specific OU. Originally I had looked at just building up a custom MMC and only delegating ...
How to get Last Reult of an Scheduled Task
Edu -
14 Sep 2006 1:39 PM - 2 messages
I want to monitor the results of scheduled task. So I want to make an VBScript that connects to different servers and get the last result of any task. I have found this script: [link] ...
Getting error when trying to activate windows through a script
Rick Ray -
14 Sep 2006 12:51 PM - 2 messages
I used the code provided by Microsoft but when I run it, I get an Invalid operation, 80041016, SWbemObjectEx error: strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set colWindowsProducts = objWMIService.ExecQuery _ ...
Automatically disable User Accounts that havent logged in for 90 days
chris_marshall -
14 Sep 2006 11:07 AM - 7 messages
My organization wants all user accounts that have not been logged into for the last 90 days to be automatically disabled, I understand that the Last_Logon_Timestamp does not get replicated, and we have a lot of DC's spread across the country, I have been looking at ...
tead_of_ö)
Patrick Bergstrom -
14 Sep 2006 10:52 AM - 4 messages
Hi. I am trying to use net localgroup localgroupname domain\group /add to add a domain group to the local admin group of some clients. Problem is that the client runs a localized swedish XP version and the adminsitrators group is called "administratörer" with an ö. When putting this in to a cmd ...
Help With Bulk User Creation Script
Aj -
14 Sep 2006 7:25 AM - 6 messages
Hi I am trying a Script for creating Bulk User : Its giving error on line 105 .. . Please let me know what is missing in this . . Enviorment is Windows 2003 Domain and I am doing this on the DC '// Name: bulkadduser1.vbs ...
Enumlate the files in jscrip, does it right? how can i run it?
Roy Lee -
14 Sep 2006 6:32 AM - 2 messages
Hi, everyone:) I m new comming, I doesnot know vbscript, and today I wrote a jscrip to Enumlate the files. Is there anyone can tell me how to run it. I just know the way: save to vbs file,and double click... ...
copy file from server to pc using UNC and %variable%
Brian T -
14 Sep 2006 6:08 AM - 3 messages
Hi, I have tried this but does not work, can somebody help please onst OverwriteExisting = True Set objFSO = CreateObject("Scripting.FileSystemObject") objFSO.CopyFile "%logonserver%\netlogon\sap\saplogon.ini" , "C:\windows\", OverwriteExisting Thanks ...
How to force a shutdown a virtual server
Novice exchange admin -
13 Sep 2006 8:22 PM - 4 messages
Does anybody know how to create a script to force a shutdown a virtual server? ...
Bug in MS Batch Interpreter?!
Greg Bartholomew -
13 Sep 2006 2:01 AM - 2 messages
Hi, I have a very simple batch script that I believe should work but does not because the ',' is being stripped from the command that I am tring to issue. Here is the script: REM Begin Script Set NICConfig=`wmic nicconfig get ipaddress, macaddress /format:csv` ...
How Can I back up all the files except MP3
cat2cat -
13 Sep 2006 12:23 AM - 3 messages
Hi, Is there anyone can modify the following which I can backup all the files except MP3 ? or do you have another script files to achieve the same result ? ____ @echo off echo Copying Local Files to Server echo This may take some time to complete... Press Ctrl-C to abort ...
Move contacts to public folder
Tom Del Rosso -
12 Sep 2006 3:00 PM - 14 messages
Using SBS2003, I'm looking for a way to move contacts from a private to a public folder, and some references say it can't be done. That's hard to believe though, and it would be bad news for the user who just spent a few ...
courses 2439 & 2433 with it??
Cyber-Guy -
12 Sep 2006 12:01 PM - 3 messages
Hi, I've been checking around on the internet about scripting in the windows environment to simplify life of a network admin and to make things more interesting. Ok the question is as follows. I've found that Microsoft has the following ...
Printer Creation
Derrick Denley -
12 Sep 2006 8:56 AM - 3 messages
I have a problem with printer creation on 2003 AD with Windows XP SP2 clients. We were previously using the runndll32, printUI command to map to printers on a printer server at the computer level of a startup script, and now with ...
Scripting NetBEUI to Windows 2003
Sedgwick -
12 Sep 2006 2:49 AM - 3 messages
looking for some help with this... We have a need to add NetBEUI to some of our Windows 2003 Servers, this is not a once off change, it is required to be an automated, repeatable and SILENT process. The difficulty I have is that I cannot see a way to add the NetBEUI network ...
Script to Add Multiple Users
KWME -
12 Sep 2006 1:52 AM - 7 messages
I'm a school network administrator and I'm new to scripts. I'd like to develop a script that can add users whose information is listed in a CSV file. If anyone knows about a source for such a script, please let me know. ...
Check services with no WMI
Carlos Felipe França da Fonseca -
12 Sep 2006 12:52 AM - 3 messages
Is there a way to check the Startup mode and status of a service without WMI? Thanks!!! Carlos Felipe França da Fonseca ...
Launching Add a Printer Wizard
Williquette -
11 Sep 2006 8:49 PM - 4 messages
How do I launch the "Add a Printer Wizard" from a command prompt? I need to provide regular users the ability to add and remove printers on several servers so I thought I could allow them to have basic "log on locally rights" ...
Queue for AD Group member and member's class
King Ng -
11 Sep 2006 3:03 AM - 2 messages
Hi, I was wrote a script used to collect all groups and groups member' name & class from AD and export into an Excel spreadsheet, but found strange that some member were missed or the entiry group is missed from the exported ...
get ad user list
Ignacio Gomez -
10 Sep 2006 4:34 PM - 2 messages
I need to get a list of all my Active Directory users, along with the date that their account was created and the last time their password was changed and last logon. How can I get a list like that? my users are organized by ...
|
|||||||||||||||||||||||