Sign in
TechNet Blogs
Technet Blog Images
More ...
Blog - Title
June, 2007
TechNet Blogs
>
Hey, Scripting Guy! Blog
>
June, 2007
Server & Tools Blogs
>
Server & Management Blogs
>
Hey, Scripting Guy! Blog
All About Windows Server
Windows Server
Windows Server Essentials Blog
Building Clouds
Partner & Customer Solutions
Server & Cloud
Ask The
Performance Team
Ask Premier Field Engineering
Ask the Core Team
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
Microsoft Leadership
Brad Anderson - In the Cloud
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
May 2013
(41)
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 Clear the Contents of a Text File?
Posted
over 6 years ago
by
ScriptingGuy1
9
Comments
Hey, Scripting Guy! How can I clear the contents of a text file? -- JJ Hey, JJ. Well, today is Monday, June 11 th , and the Scripting Guys are finally back from a week in Orlando . After all that time spent lounging around in luxury hotels, eating...
Hey, Scripting Guy! Blog
How Can I Add a Page X of Y Footer to a Microsoft Word Document?
Posted
over 6 years ago
by
ScriptingGuy1
4
Comments
Hey, Scripting Guy! I saw your article on adding page numbers to the footer of a Word document . However, I need my page numbers to be in the format "Page X of Y," where X is the current page number and Y is the total number of pages. How can I do that...
Hey, Scripting Guy! Blog
How Can I Put the File Name in the Footer of a Microsoft Word Document?
Posted
over 6 years ago
by
ScriptingGuy1
3
Comments
Hey, Scripting Guy! I’ve seen Word documents where the file name appears in the footer. Except that this file name is dynamic: if the name of the document changes then the footer changes, too. How can I add that kind of a footer using a script? -- ZK...
Hey, Scripting Guy! Blog
How Can I Color Every Other Row in an Excel Spreadsheet?
Posted
over 6 years ago
by
ScriptingGuy1
2
Comments
Hey, Scripting Guy! When I create a new Excel spreadsheet, I’d like to color every other row in that spreadsheet. How can I do that? -- TM Hey, TM. We know a lot of you have been wondering, “Gee, what’s the matter with the Scripting Guy who writes...
Hey, Scripting Guy! Blog
How Can I Delete Specified Rows in an Excel Spreadsheet?
Posted
over 6 years ago
by
ScriptingGuy1
2
Comments
Hey, Scripting Guy! How can I delete a row in an Excel spreadsheet if there is a specific value in column A of that row? -- OI Hey, OI. Before we get rolling on today’s column, have we mentioned that time is beginning to run out on the Scripting Guys...
Hey, Scripting Guy! Blog
How Can I Change the File Extension for All the Files in a Folder?
Posted
over 6 years ago
by
ScriptingGuy1
2
Comments
Hey, Scripting Guy! We backed up a whole bunch of files in a folder; when these files were backed up the word "old" was inserted as part of the file extension (e.g., Filename.exe became Filename. old exe). How can I restore these files to their original...
Hey, Scripting Guy! Blog
How Can I Change the Default File Save Format in Microsoft Word?
Posted
over 6 years ago
by
ScriptingGuy1
2
Comments
Hey, Scripting Guy! I’m running Word 2007, but most of my colleagues are still running Word 2003. Is there a way I can use a script to change the default file type when saving documents in Word? I’d prefer that, by default, documents are saved in Word...
Hey, Scripting Guy! Blog
How Can I Create a Shortcut For an Executable File That Uses Parameters?
Posted
over 6 years ago
by
ScriptingGuy1
1
Comments
Hey, Scripting Guy! How can I create a shortcut where the target path is an executable file that uses parameters (for example, something.exe -t –s )? -- MC Hey, MC. A week or so ago we mentioned that we were going to make some changes to Hey, Scripting...
Hey, Scripting Guy! Blog
How Can I Open a Window to a UNC Location?
Posted
over 6 years ago
by
ScriptingGuy1
1
Comments
Hey, Scripting Guy! How can I open a window to a UNC location? You've given many examples that involve opening a web page. I have been unable to get a similar result trying to get a script to open \\server\share. -- CY Hey, CY. You know, during the...
Hey, Scripting Guy! Blog
How Can I Delete Unread Emails That Are More Than 6 Months Old?
Posted
over 6 years ago
by
ScriptingGuy1
1
Comments
Hey, Scripting Guy! We have a lot of users who let unread email messages pile up in their Outlook Inboxes; after awhile, that causes their Inboxes to fill up. How can I write a script users could run that would delete any unread messages that are more...
Hey, Scripting Guy! Blog
How Can I Rename a File Every Day, Using the Current Date as Part of the File Name?
Posted
over 6 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I have a file that has the name BackupFile-06122007.txt, where the 06122007 represents yesterday’s date (June 12, 2007). Each morning I would like to run a script that changes the name of that file so that it uses today’s date: BackupFile...
Hey, Scripting Guy! Blog
How Can I Create a Folder for Each User in My Domain?
Posted
over 6 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I create a folder for each user in my domain? I’d like the folder name to consist of the user’s first initial and their last name (for example, KMyer). -- GN Hey, GN. You know, this has been an interesting week for the Scripting...
Hey, Scripting Guy! Blog
How Can I Search For Red Text in a Microsoft Word Document?
Posted
over 6 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I have a huge document that features occasional lines printed in red. How can I extract just the lines that are printed in red? -- GH Hey, GH. To begin with, the Scripting Guy who writes this column would like to say just one thing...
Hey, Scripting Guy! Blog
How Can I Remap Network Drives So They Use an IP Address Rather Than a Computer Name?
Posted
over 6 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I remap network drives so they point to the IP address of the remote computer rather than the computer name? -- YM Hey, YM. You know, yesterday we started off this column by saying, “Never mind,” referring to the fact that...
Hey, Scripting Guy! Blog
How Can I Prompt for a Computer Name and Then Delete That Computer Account From Active Directory?
Posted
over 6 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I write a script that prompts the user for a computer name, then goes out and deletes that computer account from Active Directory? -- PH Hey, PH. As a general rule, technical writers never experience writer’s block. Why...
Hey, Scripting Guy! Blog
How Can I Get a List of All the PDF Files in a Folder and Its Subfolders?
Posted
over 6 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I get a list of all the .PDF files (only the file names; I don’t want the file path or file extension) in a folder and its subfolders, and then put that list into a text file? -- PS Hey, PS. You know, PS, this is actually...
Hey, Scripting Guy! Blog
How Can I Copy Selected Columns From a CSV File to an Excel File?
Posted
over 6 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I copy selected columns from a CSV file to an Excel file? -- MdP Hey, MdP. One thing that people always worry about (and rightly so) is that one of these days the Scripting Guys will do something that tears a hole in the...
Hey, Scripting Guy! Blog
How Can I Append a Value to a Specified Field For Each Record in a Database?
Posted
over 6 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I add the letter s to the end of a specified field for each record in an Access database? -- A Hey, A. It’s day 2 of TechEd 2007 and the Scripting Guys are still sitting here in the CMP Media booth (that’s booth No. 1301...
Hey, Scripting Guy! Blog
How Can I Randomly Select an Email From an Outlook Mail Folder?
Posted
over 6 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I randomly select an email from an Outlook mail folder? -- TV Hey, TV. You know, for a brief moment last night the Scripting Guy who writes this column thought he had achieved every father’s dream. The Scripting Dad and...
Hey, Scripting Guy! Blog
How Can I Remove a Specific Set of Users From the Local Administrators Group?
Posted
over 6 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I delete all the users whose name starts with GER/ad_ from the local Administrators group on a computer? -- ID Hey, ID. It’s a Friday as the Scripting Guy who writes this column writes this column. Usually Fridays are a...
Hey, Scripting Guy! Blog
How Can I Insert Commas at Specified Locations in Each Line in a Text File?
Posted
over 6 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I insert commas at specified locations in each line in a text file? -- MM Hey, MM. Seeing as how Father’s Day has just come and gone we couldn’t talk about inserting commas into text files without first relating a heartwarming...
Page 1 of 1 (21 items)