Sign in
TechNet Blogs
Technet Blog Images
More ...
Blog - Title
August, 2006
TechNet Blogs
>
Hey, Scripting Guy! Blog
>
August, 2006
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
(54)
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 Set the Document Orientation in Microsoft Word to Landscape?
Posted
over 7 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I set the document orientation in Microsoft Word to landscape? -- EE Hey, EE. We think the script that we’re about to show you will answer your question; if it doesn’t, however, we’ll hope you cut us a little slack. After...
Hey, Scripting Guy! Blog
How Can I Use Windows PowerShell to Locate All the .WMA Files on My Computer?
Posted
over 7 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I use Windows PowerShell to locate all the .wma files on my computer? -- LC Hey, LC. Harry Potter. Hogwarts. Ron Weasley. Dumbledore. Quiddich. What’s all that about? Oh, nothing: just a few words that idly floated through...
Hey, Scripting Guy! Blog
How Can I Cause a Script to Run Inside an HTA Any Time a User Presses ENTER?
Posted
over 7 years ago
by
ScriptingGuy1
1
Comments
Hey, Scripting Guy! How can I cause a script to run inside an HTA any time a user presses ENTER? -- JJ Hey, JJ. Before answering your question we should state, for the record, that the Scripting Guys are unanimously opposed to the recent decision by...
Hey, Scripting Guy! Blog
How Can I Append a Location to the Path Environment Variable?
Posted
over 7 years ago
by
ScriptingGuy1
2
Comments
Hey, Scripting Guy! How can I append a location to the Path environment variable? -- AC Hey, AC. You know, there’s a TV commercial out in which a guy is watching a baseball game when his wife suddenly decides that the two of them should do something...
Hey, Scripting Guy! Blog
How Can I Determine the First Friday in a Month?
Posted
over 7 years ago
by
ScriptingGuy1
1
Comments
Hey, Scripting Guy! How can I determine the first Friday in a month? -- JB Hey, JB. You know, when we first glanced at this question we were hoping it said, “How can I determine if any given day in a month is a Friday?” Why? Well, if that was the case...
Hey, Scripting Guy! Blog
How Can I Add or Subtract Two Hexadecimal Numbers?
Posted
over 7 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I add or subtract two hexadecimal numbers? -- PS Hey, PS. You know, according to the old saying there are two things you should never watch being made: laws and sausages. We’d like to add a third item to that list: Hey,...
Hey, Scripting Guy! Blog
How Can I Use Windows PowerShell to Determine the Status of the Guest Account?
Posted
over 7 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I use Windows PowerShell to determine whether or not the Guest account has been disabled on a computer? -- RB Hey, RB. You know, last week at this time the Scripting Guy who writes this column was on vacation, a vacation...
Hey, Scripting Guy! Blog
How Can I Dynamically Change the Background Color of an HTA?
Posted
over 7 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I dynamically change the background color of an HTA? -- CN Hey, CN. You know, last summer (Fourth of July, 2005) an errant firework shot by a neighbor accidentally caught one of the Scripting Guys’ garage on fire. (Because...
Hey, Scripting Guy! Blog
How Can I Save a File Based on the Day of the Week?
Posted
over 7 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I need to save data to a text file each evening. How can I determine the day of the week and then save the file in the appropriate folder? For example, when the script runs on a Thursday then the file should be saved to C:\Logs\Thursday...
Hey, Scripting Guy! Blog
How Can I Minimize or Hide an HTML Application for 30 Seconds?
Posted
over 7 years ago
by
ScriptingGuy1
3
Comments
Hey, Scripting Guy! How can I minimize or hide an HTA for 30 seconds? -- MF Hey, MF. You know, with the possible exception of baseball, the Scripting Guy who writes this column rarely claims to know much about anything. And for good reason: every time...
Hey, Scripting Guy! Blog
How Can I Modify the Output of the Ping Command?
Posted
over 7 years ago
by
ScriptingGuy1
1
Comments
Hey, Scripting Guy! How can I place the current date and time at the beginning of each line of Ping.exe output? -- AL Hey, AL. We have to admit, we were a little shocked by your question. Change the output of the Ping command? Really, AL. Would you...
Hey, Scripting Guy! Blog
How Can I Remove Blank Spaces From File Names?
Posted
over 7 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I have a folder with a bunch of files in it, files with names like Doc 1.pdf, Doc 2.pdf, and Doc 3.pdf. How do I remove the blank spaces from all those file names? -- JRP Hey, JRP. You know, today’s column represents a landmark...
Hey, Scripting Guy! Blog
How Can I Remove Double Double Quotes From a Text File?
Posted
over 7 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I have a comma-separated values file that has data similar to this: data1",""data2"","data3",""data4"". As you can see, some of the items are enclosed by two sets of double quote marks (like ""data2""). How can I remove one of those...
Hey, Scripting Guy! Blog
How Can I List All the Printers on a Remote Computer?
Posted
over 7 years ago
by
ScriptingGuy1
4
Comments
Hey, Scripting Guy! How can I list all the printers – both local printers and network printers – on a remote computer? -- CH Hey, CH. You know, back when he worked at the University of Washington the Scripting Guy who writes this column was asked to...
Hey, Scripting Guy! Blog
How Can I Determine the Name of a Script While That Script is Running?
Posted
over 7 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! From within the script itself, how can I get the name of a running script? I need that in order to create a generic error handler for all my scripts. -- TB Hey, TB. You know, the Scripting Guy who writes this column is in the office...
Hey, Scripting Guy! Blog
How Can Tell Whether the NumLock Key is On or Off?
Posted
over 7 years ago
by
ScriptingGuy1
1
Comments
Hey, Scripting Guy! How can I tell whether the NumLock key on a computer is on or off? -- KA Hey, KA. You know, there are two problems with being a Scripting Guy. (Three, if you count the amount we get paid for doing this.) For one thing, you always...
Hey, Scripting Guy! Blog
How Can I Concatenate Files of the Same Name?
Posted
over 7 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I concatenate all the files (taken from various folders) that have the same file name? -- AS Hey, AS. You know, the hardest part about selecting questions to be used in the Hey, Scripting Guy! column isn’t writing the scripts;...
Hey, Scripting Guy! Blog
How Can I Replace Text in a Microsoft Word Document?
Posted
over 7 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I search a Microsoft Word document for all occurrences of the string <computername> and replace those occurrences with the actual name of a computer (e.g., atl-ws-01 )? -- WC Hey, WC. And by the way, thanks for your...
Hey, Scripting Guy! Blog
How Can I Tell Whether a Phrase Occurs At Least Twice in a Text File?
Posted
over 7 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I tell whether or not the phrase 226 transfer complete occurs at least twice in a text file? -- JR Hey, JR. You know, this was a tough one for us to answer; that’s because the Scripting Guys are always content with just...
Hey, Scripting Guy! Blog
How Can I Determine Whether a Domain is in Mixed Mode or Native Mode?
Posted
over 7 years ago
by
ScriptingGuy1
1
Comments
Hey, Scripting Guy! How can I determine whether a domain is in mixed mode or native mode? -- WW Hey, WW. When you listen to a Seattle Mariners game on the radio one of the regular features is “Stump the Broadcasters.” The premise to Stump the Broadcasters...
Hey, Scripting Guy! Blog
How Can I Get Access to a Mail Folder That Isn’t a Subfolder of My Outlook Inbox?
Posted
over 7 years ago
by
ScriptingGuy1
3
Comments
Hey, Scripting Guy! How can I access a specified mail folder in my Outlook Mailbox, a folder that isn’t a subfolder of my Inbox? -- RT Hey, RT. As you recall, in our last exciting episode – what do you mean you don’t recall any exciting episodes when...
Hey, Scripting Guy! Blog
How Can I Get a List of All the Senders’ Email Addresses in an Outlook Folder?
Posted
over 7 years ago
by
ScriptingGuy1
2
Comments
Hey, Scripting Guy! How can I get a list of all the senders’ email addresses in an Outlook folder? -- CW Hey, CW. You know, you must get email from a whole different set of people than we Scripting Guys do. For example, in looking through the Scripting...
Hey, Scripting Guy! Blog
How Can I Retrieve Information Required by the Sarbanes-Oxley Act?
Posted
over 7 years ago
by
ScriptingGuy1
4
Comments
Hey, Scripting Guy! As part of our Sarbanes-Oxley requirements I need to get a list of all my Active Directory users, along with the date that their account was created and the last time their password was changed. How can I get a list like that? -- DB...
Page 1 of 1 (23 items)