Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Script   (RSS)
A few months back one of my customers was trying use RDP to connect to a large number of desktop computers to manually install some security updates. If the computer was being used the admin had to wait until the person using the computer logged out and Read More...
The sample scripts provided here are not supported under any Microsoft standard support program or service. All scripts are provided AS IS without warranty of any kind. Microsoft further disclaims all implied warranties including, without limitation, Read More...
One common problem I see with Active Directory implementations is an Active Directory topology that is not fully routable. In a fully routable environment every domain controller (DC) can communicate with every other DC. While most customers "think" they Read More...
One of my customers has undergone a great deal of turnover in the past few weeks on the System Administration team. We discovered that a number of Scheduled Tasks configured on the servers were configured with the accounts of admnistrators (instead of Read More...
One of my customers has an extensive lab environment with multiple forests, domains and workgroup computers. SMS 2003 was deployed to help manage the configuration of all these different systems. Between the locked down security settings (no C$, ADMIN$ Read More...
As described in the previous post the lab environment includes multiple forests, domains and workgroup computers. One of the nice things about SMS 2003 is the fact that once the SMS Client has been installed on a system, you "own" that system and can Read More...
I was organizing files this weekend and ran across a script I created for a customer recently. They we trying to determine the membership of the local Administrators group on each computer on their network. The had determined that non-admin users were Read More...
I was working with a customer this week and we found some user objects in Active Directory had incorrect security settings. I put together a list of commands for the customer to use. I thought a few of the FOR command examples below were useful so here Read More...
Scripts are great for automating tasks that you need to perform on a regular basis. With a few lines of code you add the ability to send an email from within your scripts to notify you of a particular event. From a programming standpoint, there are two Read More...
I discovered how easy it is to control virtual machines with a script this weekend. I have one server that I use to run virtual machines that I keep running all the time. When I patch this server, I need to shut down all VMs before it is restarted and Read More...
I have a link in the left navigation bar to a page where I will begin posting some scripts I have written. I have written several useful scripts over the years and I'll post them here as time permits. The scripts will mostly be VBscript using WMI and Read More...
There are a number of useful command-line utilities that can be used to manage remote computers. The FOR command enables you to run a command ageist several computers of files. For example the command line below can be used to ping (DO ping) the first Read More...
Overview This FileCopy.vbs script performs a very simple task - it copies a file to the same directory on a number of computers. A list of computers is provided in a test file named by default INPUT.TXT and then performs the file copy to each computer Read More...
I like to write scripts. I really enjoy automating some boring task and then walking away from it. Who knows, maybe deep down I secretly desire to be a programmer... Over the years I have written a number of scripts for customers from simple batch files Read More...
So I'm kind of lazy. Not in the "sleep late and don't go to work" slacker way, I just don't like doing dull r epetitive tasks if they can be automated in some way. As a rule if I have to do the same task more than a couple of times I'm writing a script Read More...
 
Page view tracker