Home All Groups Group Topic Search About



Score Login script with drive mappings based on DL
Paco73 - 29 Nov 2007 2:52 PM - 4 messages
I am trying to write a login script for the company I work for and I want to run a different section of th escript based on the membership of a DL. I was using IFMEMBER, but that only works on security groups. ...
Score DHCP Event ID 1046 AD/DNS Issues
DHegler - 29 Nov 2007 1:50 PM - 7 messages
I am having issues on getting DHCP to work on the new server I just installed on our network.  I get: Event ID 1046: The DHCP/BINL service on the local machine, belonging to the Windows Administrative domain ilttoyotalift.local, has determined that it is not ...
Score script for scheduled backing up local content files to the network file storage
Stanley Samuel - 25 Nov 2007 5:49 AM - 37 messages
Dear all, I wanted the vbscript for script for scheduled backing up local content files to the network file storage on a weekly basis. Could anyone please help.... Thanks.. Stan ...
Score script for scheduled backing up local content files to the network file storage
Stanley Samuel - 25 Nov 2007 5:49 AM - 37 messages
Dear all, I wanted the vbscript for script for scheduled backing up local content files to the network file storage on a weekly basis. Could anyone please help.... Thanks.. Stan ...
Score Administrator Logon to 1 DC only
lozza - 29 Nov 2007 1:49 AM - 5 messages
Guys, Situation : 2 DCs in the domain, 1 DC acting as a DC only and holds all FSMO roles. 2nd DC acting as a DC AND serving a 3rd Party Application. Question: Would like to restrict the third party to only be able to logon to ...
Score Need Source file to be edited with failed ping
Rbhurst - 28 Nov 2007 9:25 PM - 5 messages
I am currenly using the following script to change the local admin pword on all my pcs.  I want the servers.txt file to let me know which pcs were not pingable.  My script is in ADSI.  Could someone please help figure out how to ...
Score Claim aware or NT-token based Application
Jane - 28 Nov 2007 6:40 PM - 4 messages
Hi, How can you tell whether the application is Claim aware or NT-token based Application? Thank you. ...
Score Putting new Active Directory machine at remote office
richhanewald@gmail.com - 29 Nov 2007 2:25 AM - 3 messages
I have a main headquarters location in Pittsburgh, PA. with 2 AD machines setup. I have a remote off with 15 users connected back to here over a IPSEC VPN tunnel(T1- to a T3). I'd like to put a server at the remote site to allow users to login/ ...
Score Demoting an NT server and removing it completely.
Idris - 28 Nov 2007 3:04 PM - 4 messages
Hi there, Our domain is mainly active directory. We've got 2 other domains which are NT. I want to now get rid of the one of the NT domains. All user accounts are no longer in use and the server is no longer used at ...
Score Remote AD domain design
Thorny - 28 Nov 2007 12:21 AM - 4 messages
Hi Guys, I have an Australian client upgrading from an NT4 domain to a 2003 domain.  We need to join an existing 2003 domain/forest which their parent company in the UK is currently running.  We need to be able to log onto our local domain ...
Score Windows 2008 Server driving me nuts
JJ Jones - 28 Nov 2007 11:06 PM - 2 messages
Help.  I'm not an expert.  We currently have an old server running Windows 2000 server sp4, with about 20 users.  It's fine for our rather simple needs, except it is now dying slowly. So we bought a new high horsepower server and have loaded Windows 2008 ...
Score output to a file
LMac - 21 Nov 2007 2:02 PM - 5 messages
Hi I need to output a list of pst files from a server into a text file.  I have found this script which will show on screen the files but unable to find out how to export the list to a txt file.  Can this be done? ...
Score enforce SSL 3.0, remove SSL 2.0 on Internet explorer
Leezy - 23 Nov 2007 8:12 AM - 3 messages
Hi Guys, i wrote this script to change the settings on all client to force connection to use only SSL 3.0. I am testing it on my PC, but the result was a failure. could some one have a look of the script and let me know? ...
Score Limit user logon time in a domain Windows Server 2003 script
Gustavo - 28 Nov 2007 1:35 PM - 7 messages
Hello scritpting guys: I need your help again, I need to set the limit user logon time, but reading from a txt or csv file, I found this code from Richard, I think it's ok, but I need to reed it from a txt file. ...
Score Adprep Issue
Rich - 27 Nov 2007 10:07 PM - 10 messages
I want to add a 2003 DC to a remote office to communicate with a SBS 2003 R2 SVR accross a VPN.  The goal is for users to login quicker at the remote office. The 2003 Standard SVR is currently at the office with SBS 2003 R2 and has ...
Score Modifying DNS entries via scripting
Dave Navarro - 28 Nov 2007 5:52 PM - 6 messages
Can someone point me to some code examples for interacting with MS DNS server through scripting? I need the ability to add/modify/remove DNS entries on our server without logging into that server remotely and using the GUI. Thanks! ...
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 Sysocmgr.exe tool you can add or remove Windows components.
Ersin INAN - 30 Apr 2007 12:44 PM - 4 messages
Hi All, I am trying to add "Management and Monitoring Tools" component using Sysocmgr.exe with a script. If you could help me on this, I really appreciate this. This is very urgent, Regards, Ersin ...
Score Need a Script to pull specific data from an xml file
Tfarmer - 28 Nov 2007 2:28 PM - 3 messages
Ok what we are trying to do is make a script to search for and pull a job number out of like 1000 xml files and put it into one file. I'm a script newbie so any and all help would be greatly appreciated. ...
Score Move computers account to another OU from a txt list
Gustavo - 26 Nov 2007 1:45 PM - 7 messages
Hello Guys: I need your help, I need to move around 7200 computers accounts to another OU. I have the list of the 7200 computers, but I need to find a script to help me to do this easier, can you help me. ...
Score Script Required to copy the IE History and Temp Internet Folder
Darshan Chitrapur - 27 Nov 2007 1:20 PM - 4 messages
Hello Everyone, I am new to scripting and i am maintaining a domain, now the management has put a requirement of copying every users temp int folder and ie history from all clients, which should be appended everytime, i have already created a ...
Score Install Software on a Remote Computer
kannadhasan.k - 16 Oct 2007 10:56 AM - 3 messages
Hi, I would like to install software in remote machine without using any remote login software( like damware, remote desktop. etc..). I  run this script. but i get  error mgs only. can you help me. Script Code Const wbemImpersonationLevelDelegate = 4 ...
Score Using VBscript to perform a file pattern search
DeJae - 26 Nov 2007 6:04 PM - 3 messages
Hello All, I am new at using vbscript. I have been using .bat files to try to administer our file server, but for what I am trying to do right now, they are not robust enough. My goal is to delete files that are .tmp files  and files that have no ...
Score Win32_Product query hangs when logged into Domain
marcossoft - 26 Nov 2007 10:38 AM - 4 messages
Hi all, I'm trying to run the script below to get all installed software on my Windows XP SP2 box. When I'm logged in locally (on the computer itself) it works flawlessly but when I'm logged into my company's Domain Controller the ...
Score new script
Alberto Arias - 23 Nov 2007 12:38 PM - 11 messages
Hi, I'm trying to compare 2 hour but i don't find the correct script. I'm trying to test the excution of one aplication with a flag. i like check the flag and test if the creation time of this (flag.txt) it's 6 horas minor ...
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 Add employeeID to users
natsky - 23 Nov 2007 12:54 PM - 3 messages
Hi We get list where we have lastname firstname username employeeID Is there scrip which adds empoyeeID to AD's users? Our domain and forest are in windows 2003 server mode. ...
Score code to parse logon servername and exit if name start w/abc*
Smoreno - 22 Nov 2007 12:05 AM - 3 messages
Hello, I have the following code on a login script to read the logon server name: Set WSHShell = CreateObject("Wscript.Shell") Set WSHProcess = WSHShell.Environment("Process") LogonServer = WSHProcess("LogonServer") But now I am not sure how to parse the 'Logonserver' name to and  skip ahead ...
Score How to get accts created in last 7 days
Wizzy - 22 Nov 2007 5:41 AM - 6 messages
Hi, I would like to know how to get a list of xp accts created in an OU in past 7 days along with their creation date, home drive path & profile path. I would like the output of the script to be directed to an excel file with each ...
Score Sign a script
Troy - 22 Nov 2007 12:04 AM - 5 messages
I am attempting to sign a script for the first time and receiving an error.  I have installed a Code Signing certificate from my Enterprise Root CA in my personal certificate store ("My").  I am using a slightly modified version of ...
Score Script Need to check disk space on remote servers
screwuphead - 20 Nov 2007 6:07 PM - 4 messages
I know i could always a program to do this but wheres the fun in that? so I need a program that will go through a list of servers and then a list of their drives and check to see how much free space is left on those drives, from their if it is anything less then 30GB i need it to send an email to me. i am using psexec to access these remote servers and run cmd. then to email myself i am using postie. the problem i am having is wrapping that all up in a if-then-else command that will look for the specified free space.  It doesnt work right now beacuse for whatever reason it is bring back a true statement when the statement is false because i know the server its checking is more then 30GB free. This is what i have so far: @echo off for /f %%S IN (serverPClist.txt) DO ( echo Checking drives on Server %%S... for /D %%D IN (C D F G H I J K X V E) DO ( psexec \\%%S cmd /c if exist %%D:\* dir %%D:\ | findstr /c:"bytes" > %temp%\%%S-%%D.txt ) ) color 0D for /f %%S IN (serverPClist.txt) DO ( echo. & echo. echo ********** Displaying output for server %%S... ********** for /D %%D IN (C D E F G I J K) DO ( for /f "tokens=1,2,3,4" %%F IN ('if exist %temp%\%%S-%%D.txt type %temp%\%%S-%%D.txt') DO ( if /i "%%G" == "Dir(s)" echo For the %%D: drive: %%H bytes free space. if /i "%%G" == "bytes" echo For the %%D: drive: %%F bytes free space. echo. ) ) echo Done! ) echo Generating HTML... REM this part of the script generates an HTML file with all the relevant information REM and then launches it using the default browser. set FileName="C:\Report.html" echo ^<HTML^> > %FileName% echo ^<HEAD^> >> %FileName% echo ^<TITLE^>Free Space on NRCE Servers^</TITLE^> >> %FileName% echo ^</HEAD^> >> %FileName% echo ^<BODY^> >> %FileName% echo ^<CENTER^>^<FONT SIZE=6 COLOR=BLUE^>Free Hard Drive Space Report^</FONT^>^</CENTER^>^<BR^> >> %FileName% for /f %%S IN (serverPClist.txt) DO ( REM mark the server echo ^<FONT SIZE=4^>^<B^>%%S^</B^>^</FONT^>^<BR^> >> %FileName% for /D %%D IN (C D E F G I J K) DO ( for /f "tokens=1,2,3,4" %%F IN ('if exist %temp%\%%S-%%D.txt type %temp%\%%S-%%D.txt') DO ( REM add a line for the drive and free space if /i "%%G" == "Dir(s)" echo ^<FONT SIZE=3^>Free space on ^<B^>%%D:^</B^> drive: ^<B^>^<FONT COLOR=GREEN^>%%H^</FONT^>^</B^> bytes free^</FONT^>^<BR^> >> %FileName% if /i "%%G" == "bytes" echo ^<FONT SIZE=3^>Free space on ^<B^>%%D:^</B^> drive: ^<B^>^<FONT COLOR=GREEN^>%%F^</FONT^>^</B^> bytes free^</FONT^>^<BR^> >> %FileName% ) ) REM mark some spacing lines into the HTML file echo ^<BR^> >> %FileName% ) echo ^</BODY^> >> %FileName% echo ^</HTML^> >> %FileName% REM launch the HTML file set positive=1 set amount="30,000,000,000" if %%f leq %amount% set violation=1 if %%h leq %amount% set violation=1 echo %violation% if %violation% equ %positive% postie -host:(SMTP SERVER) -to:(MY EMAIL) -from:(NETWORK EMAIL) -s:"Server Report" -msg:"THERE IS A VIOLATION!" -a:"C:\ServerReports\Report.html" echo Done! If anybody else has anything better plz show me, otherwise i will keep playing around with this coding. -- screwuphead ------------------------------------------------------------------------ screwuphead's Profile: [link] View this thread: [link][link] ...
Score Copy file from server to workstation at logon
116 - 21 Nov 2007 3:31 PM - 4 messages
Can someone help regarding a file I would like copied to the local PC everytime they logon to the domain. Server is 2000 and using active directory Thanks ...
Score Deleting Files and folders
po_boy - 20 Nov 2007 2:50 PM - 5 messages
I have some files and folders under C:\LogFiles. This folder has many subfolders and files. I need to find an easy way to delete the files or folders(subfolder) that are older than X days.  Most scripts only do a folder ...
Score WSUS Aproved Updates - [WP]
WILDPACKET - 15 Nov 2007 1:38 PM - 6 messages
I found this on WSUS Site under Script Centre this Provides a status report for approved updates. Every update approved on your server is shown, with a list of the target groups for which it was approved. Within each group, counts are shown for how many computers have a specific ...
Score shell script
ned - 16 Nov 2007 11:57 PM - 4 messages
Hi all I am not sure this is OT Is there a way to concatenate the output from two commands into a single line in a batch file? Something like echo A <concatenate> echo B >> file.txt ...
Score Scheduled script problem
dk - 16 Nov 2007 4:15 AM - 8 messages
Here is the problem: A vbs script that sets up a command to run a batch file, calls EXEC on the command.  When run from a scheduled task, it hangs on the EXEC command, until the scheduler stops the script after the maximum allowed time to run. ...
Score Backup Event Logs
Chris M - 22 Oct 2007 4:07 PM - 6 messages
Hi all, I have written a VB script that backs up the event logs on a machine over the network, zips them up and puts them in a folder for archiving purposes. When the script has been fully tested, it'll clear the event ...
Score VBScript or JScript
Hassan - 18 Nov 2007 7:13 AM - 4 messages
Are there any pros and cons of VBScript and JScript ? I want to learn one scripting language and just bought a book on VBScript, but also see many programmers using JScript for their Web programming ? So i want to know when to use one vs the other ? ...
Score Script to parse programatically through files in a folder
Hassan - 17 Nov 2007 8:56 PM - 3 messages
I am new to scripting and even programming for that matter.. What i want to do is run a command that processes all files in a folder and once successfully done move the processed file to another folder So for eg: ...
Score Force password Expiration to 5 days
Sonny - 16 Nov 2007 6:53 PM - 4 messages
We currently have password expiration policy set to 120 days. Due to new stringent password complexity requirements, i need to force users to change  their passwords. When users login to AD, they should get a prompt that says you have 5 days to change your password before you password expires? ...
Score Script that shows prmary DNS
skip - 16 Nov 2007 1:01 AM - 6 messages
Hello all I need to list the primary DNS ip address for all my servers. All servers are in an OU, is there a vb script available that i can run that will show the primary DNS settings for the network adapter? ...
Score CSVD export of SMTP addresses
randy - 15 Nov 2007 9:44 PM - 5 messages
I am attempting to export a list of all usernames and smtp email addresses fromt LDAP. I have the following command which works, except for the fact that it keeps exporting the Distinguished name, even though I don't ask it to ...
Score Change local admin password
Miha - 18 Oct 2007 7:04 AM - 9 messages
Hi Is it possible and how to change local admin password on all Win2000/WinXP computer in domain? Can't find any function in GPO, the only way that I can think of is via script, but it's a problem that script is run with users privileges, and ...
Score List users that last logon was 180 days ago
Gustavo - 13 Nov 2007 8:08 PM - 3 messages
Hello guys, I need to find 2 scripts, that help me to list all users in a domain, where the users never have done logon, and another script that list the users that theis last logon was 180 days ago ...
Score HP2600N Nightmare on Win2k3 server
Blackberry - 12 Nov 2007 7:58 PM - 3 messages
Hi All Been installing HP2600N's at schools no problem in a server environment. Installed 2 today (ie configured static ip on each (school rule), installed the driver on the Win2k3 server via the installer cd, restarted the server (mandatory), shared the printers and config'd GPO to 'push' these printers ...
Score HP2600N Nightmare on Win2k3 server
Blackberry - 12 Nov 2007 7:58 PM - 3 messages
Hi All Been installing HP2600N's at schools no problem in a server environment. Installed 2 today (ie configured static ip on each (school rule), installed the driver on the Win2k3 server via the installer cd, restarted the server (mandatory), shared the printers and config'd GPO to 'push' these printers ...
Score Finding files older than 2 weeks old
mharmon - 12 Nov 2007 5:23 PM - 5 messages
I want to write a script that will look through a folder and subfolder and find all files of a particular file extension that are over 2 weeks old and write these files to a log. Then run weekly from Windows Scheduler. ...
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 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 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 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 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 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 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 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 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 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 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 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 AD, W2003Svr, connect Printer from CSV file via Script to Host?
emj - 26 Oct 2007 9:24 AM - 2 messages
Hello all, bloody newbie here (in case of Win2003Svr, AD and that WSH thingie) The conditions: ------------------ A network, Windows 2003 R2 Domaincontroller, Active Directory and a CSV file. Several usergroups within several OUs. Only network printers, no local ones. 400+ Computers and 140+ Printers ...
Score Recording AD Logons to SQL Database
kcadmin - 27 Sep 2007 1:02 PM - 9 messages
I've been trying to find a way to keep a running log of who logged on, when and from what pc by running the code below in my login script.  The code works, but the csv file method is limited since it tends to lock up the file ...
Score Execute Script on windows server 2003 R2 x64
Gustavo - 24 Oct 2007 1:44 PM - 5 messages
Hello mates, I just found a script, that deletes folder, subfolder and files older than X hour, I wrote the script in my PC Win XP x32, but when I copy the script file to the server, in few seconds, the content of the script ...
Score Need Help with Randomized and Incremental Numbering
Corey Forman - 17 Oct 2007 5:18 PM - 4 messages
I'm trying to set a variable to a call of ticket_ID from table tickets of the most recent ID. Basically I want to call the most recent number in the column ticket_ID and add 1000 to it to make a 4 digit #. What I've got is this: ...
Score SQL script
denverdude - 23 Oct 2007 7:01 AM - 4 messages
Any ideas on scripting an SQL database to overwrite another SQL database (in SQL2005Express??) I've got: RESTORE DATABASE <name> FROM DISK = ‘C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup\<name>.bak Is there something I'm missing? ...
Score Remote run Script issue
bobgfish - 23 Oct 2007 8:58 AM - 3 messages
Hello Trying to run a simple utility to change the drive letter of the CD ROM.  The script runs fine when running locallly.  However if I try and run it remotely by changing the strComputer name I get an Access Denied message.  ...
Score Audit Exchange Mailbox Permissions IMailboxStore
Jamestechman - 13 Mar 2007 3:46 PM - 3 messages
I'm using the script listed in [link] to query all users that have access to a certain mailbox. However, this works by specifying the dn for each mailbox you wish to query. I ...
Score Share Out All Folders In A Folder
cronse - 19 Oct 2007 3:50 PM - 2 messages
Hello, I am migrating a server that holds all the home folder for users to another folder.  I robocopied the folders to the new folder but the sharing does not copy.  I am trying to write a script to share the ...
Score Modify user home directory path
dung.t.ng - 18 Oct 2007 10:15 PM - 2 messages
Hi All, I'm new to the VBScripting world. I need help with a script that can modify user home directory path. I'm going to move approximately 1500 user home directories from one server to another. I need a script that ...
Score run a batch file on multiple servers
Walid - 11 Oct 2007 5:41 PM - 3 messages
Hello: I have a batch file that will install MS patches on over 50 servers.  The location of the batch file is on a network share.  Is there anyway to run this batch file on all of these 50 servers without having to logon to each ...
Score Client IP retrieval
Green-Thumb - 14 Oct 2007 2:38 PM - 4 messages
I have been trying to write a script for retrieving the IP from a client. I want to be able to send an email with the script as an attachement and my client then would receive the email and run the script.  The script would ...
Score Outllok 2003 Signature script
John - 20 Apr 2007 8:58 PM - 3 messages
I came across the script below in an issue of TechNet and have been testing it ever since so that I can actually use it. I'm not very familiar with scripting, but from playing with the code in this was able to figure out what ...
Score Shutdown Script
Woon Ping - 11 Aug 2005 3:15 AM - 11 messages
I use the script that provided by microsoft technet by I receive an error when I try to run. The script that I use is as follow, and it give me this error message. May I know why. Thank You ...
Score Parse txt file and output to cmd file
Michael - 16 Oct 2007 2:26 PM - 3 messages
I am working on updating some of our out dated unattened installs for the 64-bit world. In our build scripts we echo the computer name to a txt file then need to read the name. Based on the name we import settings into our unattened.txt ...
Score Exchange 2000 Mailbox Sizes and Queue
Imy - 5 Oct 2007 10:03 AM - 3 messages
Hi, I can't seem to find a method to obtain Mailbox sizes for all users in Exchange 2000 can anyone please help? Also we already have the MailQ utility in place which displays queue lengths across all servers, is there anyway to get this in a graphical format? ...
Score Xcalcs.vbs and inheritance
verukins - 10 Oct 2007 11:38 AM - 6 messages
This isnt quite scripting, but scripting people will get what i mean.. I am using the good old "for /f" along with xcacls.vbs to set home drive and profile permisisons, but have always used it setting all the way down the tree (ie /s /t) .... as you can imagine this takes a very ...
Score Map drives based on IP of computers
Bryan - 10 Oct 2007 5:35 PM - 3 messages
I am currently using this script to map network drives based on group membership. [link] I now need to modify it so it is also based on the location of the computer. ...
Score generic Domain(AD) connection
mayoza - 11 Oct 2007 9:07 AM - 3 messages
The following script returns the policy in the AD. Can you help me with one thing, I dont want to supply the parameters like dc="?", I want the script to run under the AD that the user is currently logon to. ...
Score CSVDE Multiple group export..
PK - 10 Oct 2007 10:11 AM - 14 messages
Dear all I got the below to work ok, ( I can also export the entire OU) csvde -f C:\Get-Group\GroupMembers.csv -r "memberOf=cn=H050,ou=mygp,dc=mydom,dc=co,dc=uk" -l "sAMAccountName,givenName,physicalDeliveryOfficeName,memberOf" ...
Score Scripting in 2003 Active Directory
gram - 4 Oct 2007 8:51 AM - 3 messages
We need a script to change about 100 users profile paths in 2003 AD, instead of doing it manually. The only change is the servername, rest of path is ok. can anyone point me to a website or to a script that will do this? ...
Score automate the properties TCP/IP
gustavo - 26 Sep 2007 11:26 PM - 3 messages
It is possible to create a script to automate the properties TCP/IP on multiple clients, where this script takes to which properties TCP/IP that her belong(concern). Thank you for your help since they are too many equipments ...
Score List members of Global group in NT domain.
Afsal - 7 Oct 2007 7:38 AM - 6 messages
Hai Friends,          My Boss wants list of members in 4 global groups in NT domain, in following format, 1. Full Name 2. NT logon Name 3. The group the user is member of (out of the 4 groups) ...
Score %random%
bvb47 via WinServerKB.com - 10 Oct 2007 12:30 PM - 5 messages
Hello!, I'm trying to obtain a random number in batch file. if I type in command prompt work ok, but if I put this instruction in batch file, don't work! anybody know why? thanks! ...
Score Replace Users Printers via Script
Beanz - 9 Oct 2007 4:00 PM - 3 messages
I am looking for guidance with the following: 150+ users connected to various printers via one Windows Server 2003 print server.  The current print server is on its last legs so we have moved the printers on to a new server and now need to connect the ...
Score Output PC Name, Serial #, IP, and , OS to CSV
Hickory - 9 Oct 2007 4:44 PM - 5 messages
Hi, I am trying to make my script do what the subject says: Output PC Name, Serial #, IP, and , OS  to CSV using vbs. The script pings a range of ip addresses and then spits back the SN and OS ...
Score Need help with delete old files script
Dave Allen - 8 Oct 2007 5:56 PM - 3 messages
I need a script that will delete files and folders older then 30 days. I found this script and it works except it does not scan sub-folders [link] ...
Score ASP Access and Creating an Incremental ID for a record
Corey Forman - 3 Oct 2007 11:00 AM - 3 messages
Alright, I might be making this more difficult than it is, but here goes: I've currently got a script which will take the number from one field (ticket_UserID) and a number which is randomly generated (R = CLng (10000 * Rnd)) and takes the first 4 from the ticket_UserID and the last of the R to ...
Score Need script to delete list of AD accounts
D.P. Roberts - 4 Oct 2007 10:23 PM - 6 messages
I have a text file of several hundred usernames that need to be deleted from Active Directory. These users are scattered among several OUs, but they are all located in the same domain. Is there a way in vbs I can delete these ...
Score predictive drive failure using wmi
Stekcub - 5 Oct 2007 8:03 PM - 2 messages
Hello all, I have been trying to get a WMI query to return the status of 4 SCSI hard drives in our Dell PE830s.  I have searched every where, used the WMI Scriptomatic, used the wim32_diskdrive and mass_storage_driver classes.  ...

Developed using NextGeneration, the .NET Code Generator Try AdSense Reporter, the charting tool for AdSense publishers