Sign in
TechNet Blogs
Technet Blog Images
More ...
Blog - Title
July, 2007
TechNet Blogs
>
Hey, Scripting Guy! Blog
>
July, 2007
Server & Tools Blogs
>
Server & Management Blogs
>
Hey, Scripting Guy! Blog
All About Windows Server
Windows Server
Windows Server Essentials Blog
Partner & Customer Solutions
Ask The
Performance Team
Ask Premier Field Engineering
Ask the Core Team
Cloud OS Blogs
Brad Anderson - In the Cloud
Building Clouds
Server & Cloud
Datacenter Management
The System Center Team Blog
System Center Virtual Machine Manager
System Center Service Manager
System Center Operations Manager
System Center Data Protection Manager
System Center Orchestrator
Partner & Customer Solutions
Client Management
System Center Configuration Manager
System Center Service Manager
MDOP
Malware Protection Center
Windows Intune
SUS
Partner and Customer Solutions
Virtualization, VDI & Remote Desktop
Virtualization Team Blog
Ben Armstrong’s Virtualization Blog
Jose Barreto Blog on Hyper-V
Partner & Customer Solutions
Remote Desktop Services
Windows Multipoint Server
Ask the Core Team on Hyper-V
File & Storage & High Availability
File & Storage
Jose Barreto
Partner & Customer Solutions
Ask the Core Team on Failover Cluster
Clustering & High Availability
Windows Server Management
PowerShell
Hey Scripting Guy (PowerShell)
Server Manager
Group Policy
Networking
Identity & Access
Ask Directory Services
Active Directory
Hey, Scripting Guy! Blog
Learn about Windows PowerShell
Live Now on Server & Tools Blogs
Useful Links
Learn Powershell
TechNet Script Center Home page
Scripting Guys Script Repository
The Official Scripting Guys Scripting Forum
Subscribe
Comments
Contact
Menu
Blog Home
Atom
Translate this page
Powered by
Microsoft® Translator
Twitter Feed
Tags
2010 Scripting Games
2011 Scripting Games
2012 Scripting Games
Active Directory
Advanced
Beginner
databases
dates and times
desktop management
event logs
events and monitoring
Excel spreadsheet
files
folders
general management tasks
getting started
guest blogger
leaderboard
Logs and monitoring
Microsoft Excel
Microsoft Outlook
Microsoft Word
networking
Office
operating system
PowerShell 3
PowerTip
processes
Quick-Hits Friday
registry
running
Scripting Guy!
scripting techniques
Scripting Wife
Sean Kearney
searching Active Directory
security
servers
SQL Server
storage
string manipulation
text files
user accounts
using the Internet
VBScript
Web pages and HTAs
Weekend Scripter
Windows PowerShell
WMI
writing
More
▼
Less
▲
Related Resources
Script Center Home
Scripting Library
Learn to Script
Script Repository
Scripting Forum
2012 Scripting Games
Archives
Archives
June 2013
(45)
May 2013
(68)
April 2013
(61)
March 2013
(62)
February 2013
(56)
January 2013
(62)
December 2012
(62)
November 2012
(68)
October 2012
(62)
September 2012
(62)
August 2012
(63)
July 2012
(32)
June 2012
(39)
May 2012
(33)
April 2012
(97)
March 2012
(44)
February 2012
(31)
January 2012
(31)
December 2011
(31)
November 2011
(30)
October 2011
(31)
September 2011
(30)
August 2011
(31)
July 2011
(31)
June 2011
(30)
May 2011
(31)
April 2011
(97)
March 2011
(41)
February 2011
(28)
January 2011
(31)
December 2010
(31)
November 2010
(30)
October 2010
(31)
September 2010
(30)
August 2010
(33)
July 2010
(31)
June 2010
(30)
May 2010
(67)
April 2010
(65)
March 2010
(34)
February 2010
(29)
January 2010
(23)
December 2009
(23)
November 2009
(22)
October 2009
(23)
September 2009
(22)
August 2009
(25)
July 2009
(24)
June 2009
(38)
May 2009
(22)
April 2009
(22)
March 2009
(22)
February 2009
(20)
January 2009
(22)
December 2008
(8)
November 2008
(17)
October 2008
(9)
September 2008
(8)
August 2008
(6)
July 2008
(5)
June 2008
(21)
May 2008
(21)
April 2008
(22)
March 2008
(21)
February 2008
(21)
January 2008
(22)
December 2007
(10)
November 2007
(20)
October 2007
(23)
September 2007
(19)
August 2007
(23)
July 2007
(21)
June 2007
(21)
May 2007
(22)
April 2007
(21)
March 2007
(22)
February 2007
(21)
January 2007
(21)
December 2006
(11)
November 2006
(20)
October 2006
(22)
September 2006
(20)
August 2006
(23)
July 2006
(20)
June 2006
(22)
May 2006
(22)
April 2006
(20)
March 2006
(23)
February 2006
(20)
January 2006
(21)
December 2005
(16)
November 2005
(20)
October 2005
(21)
September 2005
(21)
August 2005
(23)
July 2005
(20)
June 2005
(22)
May 2005
(21)
April 2005
(21)
March 2005
(22)
February 2005
(20)
January 2005
(21)
December 2004
(16)
November 2004
(20)
October 2004
(21)
September 2004
(21)
August 2004
(22)
More
▼
Less
▲
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Hey, Scripting Guy! Blog
How Can I Create a New Outlook Distribution List Based On the Membership of an Active Directory Group?
Posted
over 6 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I create a new Outlook distribution list based on the membership of an Active Directory group? -- HKM Hey, HKM. Before we launch into today’s column we’d like to make a nomination for the Most Courageous Scripting Performance...
Hey, Scripting Guy! Blog
How Can I Dynamically Link Two Drop-Down Lists?
Posted
over 6 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I configure a pair of dropdown lists in an HTA so that, when I change the selection in the first list, the options available in the second list also change? -- PC Hey, PC. Before we get going today, we’d like to make it...
Hey, Scripting Guy! Blog
How Can I Map a Printer Based on the Computer’s OU?
Posted
over 6 years ago
by
ScriptingGuy1
4
Comments
Hey, Scripting Guy! How can I map a printer based on the local computer’s OU? -- TG Hey, TG. Before we begin, we’d like to offer a sincere and heartfelt apology to the Scripting Editor. In a recent column , we made it sound as if, in her words, the...
Hey, Scripting Guy! Blog
How Can I Configure PowerPoint to Print Handouts Instead of Slides?
Posted
over 6 years ago
by
ScriptingGuy1
1
Comments
Hey, Scripting Guy! How can I configure the print options in PowerPoint so that, by default, handouts are printed rather than slides? -- OG Hey, OG. You know, whoever said “Lightning never strikes twice in the same place” didn’t reckon on the Scripting...
Hey, Scripting Guy! Blog
How Can I Create a New WMI Namespace Under the Root Namespace?
Posted
over 6 years ago
by
ScriptingGuy1
1
Comments
Hey, Scripting Guy! How can I create a new WMI namespace under the root namespace? -- MT Hey, MT. So how are you doing, MT? We hope you’re doing well; the Scripting Guys hope that everyone is doing well. (OK: we hope that most everyone is doing well...
Hey, Scripting Guy! Blog
How Can I Save All My Contacts as VCards?
Posted
over 6 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I save all my contacts as VCards? -- ET Hey, ET. You know, we have to tell you the truth: after nearly 800 Hey, Scripting Guy! articles the Scripting Guy who writes this column is beginning to get a little burnt-out. Fortunately...
Hey, Scripting Guy! Blog
How Can I Check Every 30 Minutes to See If a File Has Been Modified?
Posted
over 6 years ago
by
ScriptingGuy1
3
Comments
Hey, Scripting Guy! How can I monitor an application’s log file and issue an alert if the timestamp on that file hasn’t changed in the last 30 minutes? -- JA Hey, JA. You know that’s a very interesting question, and one that – say, wait a second. You...
Hey, Scripting Guy! Blog
How Can I Delete Specified Characters From the Beginning and End of My File Names?
Posted
over 6 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I truncate file names by removing a common beginning and ending, leaving only the unique middle portion of the name? -- RE Hey, RE. Before we answer your question we’d like to point out that we’ve finally posted the winners...
Hey, Scripting Guy! Blog
How Can I Create a Custom Dialog Box?
Posted
over 6 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I create a custom dialog box that presents the user with two options, and then runs the appropriate subroutine based on the option they chose? -- AM Hey, AM. Well, today is another day, which is good; after all, yesterday...
Hey, Scripting Guy! Blog
How Can I Add an HTML Tag to the End of Each Line in a File?
Posted
over 6 years ago
by
ScriptingGuy1
1
Comments
Hey, Scripting Guy! I have a bunch of documents I’m trying to transfer to MySpace. In order to do so, I need to put the <br> tag at the end of each and every line in the document. Is there any way to do that using Microsoft Word, or even Notepad...
Hey, Scripting Guy! Blog
How Can I Display a Default Message If Nothing Has Been Typed Into a Text Box?
Posted
over 6 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! Sometimes you go to a Web page and you’ll see a text box that includes some instructions, something like “Please type a description in this box.” When you click on the text box, those instructions disappear; however, if you click on...
Hey, Scripting Guy! Blog
How Can I List the Network Printers For the Logged-On User?
Posted
over 6 years ago
by
ScriptingGuy1
6
Comments
Hey, Scripting Guy! How can I create a logon script that lists the network printers for the logged-on user, then writes that information to a text file? -- RC Hey, RC. You know, the nice thing about coming to work after a few days off is – well, OK...
Hey, Scripting Guy! Blog
How Can I Create a File of a Specified Size?
Posted
over 6 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I create a file of a specified size using a script? -- RE Hey, RE. Well, it’s day 2 of the Walla Walla Invitational Baseball tournament, but at the moment the Scripting Guy who writes this column isn’t thinking about baseball;...
Hey, Scripting Guy! Blog
How Can I Use Windows PowerShell to Retrieve Environment Variables and Special Folder Paths?
Posted
over 6 years ago
by
ScriptingGuy1
3
Comments
Hey, Scripting Guy! How can I use Windows PowerShell to retrieve the value of environment variables and the path to a special folder? -- SB Hey, SB. Well, it’s Thursday, which means that the Scripting Guy who writes this column is currently in Walla...
Hey, Scripting Guy! Blog
How Can I Ensure That a User Enters Only Allowed Characters in a Text Box?
Posted
over 6 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I have an HTA which includes a text box where the user must enter a part number. Part numbers must consist of a certain set of characters; how can I determine if a user entered an invalid character in the part number text box? -- RR...
Hey, Scripting Guy! Blog
How Can I Insert a Page Break in a Text File After Each Line Where the Only Character is the Number 1?
Posted
over 6 years ago
by
ScriptingGuy1
2
Comments
Hey, Scripting Guy! How can I open a text file and insert a page break after each line where the only character is the number 1? -- JR Hey, JR. OK, to begin with, there’s no doubt that the Scripting Guy who writes this column doesn’t keep up with the...
Hey, Scripting Guy! Blog
How Can I List All the Fields and Data Types in an Access Database?
Posted
over 6 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! In a previous column you showed us how to list all the tables in an Access database. How can I list all the fields in those tables, along with the data type of each field? -- MF Hey, MF. As you may or may not know, there’s a Microsoft...
Hey, Scripting Guy! Blog
How Can I Set the Print Area in an Excel Spreadsheet?
Posted
over 6 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I set the print area in an Excel spreadsheet? -- PRP Hey, PRP. You know, before the Scripting Guy who writes this column wrote his very first column he took a sacred vow: he vowed never to take a sacred vow, at least not...
Hey, Scripting Guy! Blog
How Can I Replace Null Values in an Array?
Posted
over 6 years ago
by
ScriptingGuy1
3
Comments
Hey, Scripting Guy! How can I loop through a 12x12 array and replace any null values with a hyphen? -- AM Hey, AM. Sorry for the delay in getting back to you; as it turns out, yesterday was Independence Day (more typically referred to as the Fourth...
Hey, Scripting Guy! Blog
How Can I Change the Local Administrator Password on All My Computers?
Posted
over 6 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I change the local Administrator password on all the computers in my domain? -- AO Hey, AO. You know, according to the now-classic cartoon punch-line, “on the Internet, no one knows if you’re a dog.” To be perfectly honest...
Hey, Scripting Guy! Blog
How Can I Create a Folder With a Name Based on the Monday and Friday of the Coming Week?
Posted
over 6 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! Every Sunday I need to create a folder with a name similar to this: C:\Test\7-2-2007 to 7-6-2007 , with the dates representing the Monday and the Friday of the upcoming week. How can I write a script that will create this folder for...
Page 1 of 1 (21 items)