Script to report folder sizes? I have a Users directory on a drive, where all my users have a subfolder with their user name. inside everyone's folder is a certain folder, lets call it TooBig, that i need to know the size for for each user. does anyone have a script that would maybe dump the size of each user's TooBig folder to a file I ca... 15 Mar 2010 11:14
Find User Object based on Logon Name Richard, As usual, you are a genius! This worked perfectly. I want to thank you very much for your participation in this newsgroup, and your informative web page. I have learned sooo much from your contributions, and you have saved me many, many hours spinning my wheels on scripting challenges. -PK ... 8 Mar 2010 09:42
Shutdown explorer not interactively ? Hello, The proper way to shut down explorer interactively: 1. Display classic shutdown dialog(Alt+F4) 2. Use Ctrl+Alt+Shift+"Push Cancel button with mouse" I want to do exactly the same thing only not interactively - by using batch script, vbs script(wsh), wmi or whatever method. (Of course I can always ... 6 Mar 2010 15:11
IPconfig script how to make ipconfig using script url:http://www.ureader.com/msg/16752076.aspx ... 6 Mar 2010 09:39
Writing to a text file I have a script that is working pretty well but I don't understand what's happening when I try to output a file (sort of acting as my log file). My hope is to get each created contact to be listed in the file but it only seems to be writing one of the names that get created. Essentially, the script looks at... 5 Mar 2010 21:50
Detect Win Logon I have an application that is deployed by Altiris at system startup and Altiris does not disable the logon like Group Policy does. My application install is controlled by a vbscript. I would like to display a message (hta or iexplore window) when someone log on. I have to use Altiris to 'Run' the starting windo... 5 Mar 2010 19:38
Adding Multiple Variables I am using the following script to delete shares and want to specify multiple shares, instead of just one share name. How can I do so? DomainName = "domain.com" ServerName = "Server1" ShareName = "Share1" Set cont = GetObject("WinNT://"& DomainName &"/"& ServerName &"/LanmanServer,FileService") cont.... 5 Mar 2010 22:55
Create Exchange 2007 mailbox Hi! :) We use a vbscript to create users. Here are the lines of code in the script that creat the user account. The password is also set and some groups added... Set objUser = objUserOU.create("user", "cn=" & strEmpid) objUser.Put "SAMAccountName", strEmpid objUser.Put "givenName", strFirstName objUser.Put... 8 Mar 2010 23:09
Object required Hi Dan, This is the line of code causing your error. Set objContact = objContainer.Create("Contact","cn=" & strContactName) There are two reasons for your errors. 1) objContainer does not contain any connection to Active Directory 2) "cn=" & strContactName requires double quotes (") around the username. Cha... 5 Mar 2010 11:42
Removing expired certificates from LDS Hi all. This is my situation: We are in the process of replacing a certificate store currently hosted on Sun's iPlanet with Microsoft's Lightweight Directory Services. These certificates have been imported into LDS into an application partition (say o=myorg, C=AU). Under this structure I have around 40,000 OU's eac... 4 Mar 2010 22:33 |