Sign In
TechNet Blogs
Technet Blog Images
More ...
Tweet tweet!
Translate this page
Powered by
Microsoft® Translator
Related Links
Blog Home
Script Center Home
Scripting Library
Learn to Script
Script Repository
Scripting Forum
2012 Scripting Games
Common Tasks
Blog Home
RSS for comments
RSS for posts
Atom
OK
Email Blog Author
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
2009 Summer Scripting Games (42)
2010 Scripting Games (115)
2011 Scripting Games (132)
2012 Scripting Games (125)
Active Directory (216)
ActiveX Data Objects (ADO) (30)
Advanced (70)
arrays hash tables and dictionary objects (29)
Beginner (96)
CSV and other delimited files (35)
databases (57)
dates and times (56)
desktop management (111)
displaying output (32)
event logs (45)
events and monitoring (37)
Excel spreadsheet (52)
Excel.Application (31)
files (140)
folders (74)
general management tasks (55)
getting started (299)
groups (39)
guest blogger (264)
Internet Explorer (31)
leaderboard (57)
local accounts and Windows NT 4.0 accounts (33)
Logs and monitoring (48)
Microsoft Excel (114)
Microsoft Outlook (49)
Microsoft Word (95)
multimedia (30)
Office (286)
operating system (229)
other Directory Services (34)
performance (32)
printing (31)
prize winners (32)
processes (48)
Quick-Hits Friday (88)
registry (82)
regular expressions (39)
running (86)
Scripting Guy! (2162)
scripting techniques (990)
Scripting Wife (85)
Sean Kearney (50)
searching Active Directory (63)
security (44)
servers (31)
services (31)
sponsors (38)
storage (211)
string manipulation (48)
text files (147)
troubleshooting (39)
user accounts (89)
using the Internet (38)
VBScript (1049)
Web pages and HTAs (71)
Weekend Scripter (186)
Windows PowerShell (1300)
Windows PowerShell ISE (33)
WMI (159)
writing (45)
Archives
Archives
May 2012
(29)
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)
November, 2006
TechNet Blogs
>
Hey, Scripting Guy! Blog
>
November, 2006
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Hey, Scripting Guy! Blog
How Can I Read the Individual Lines in a Multi-Line Text Box in a HTA?
Posted
over 6 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! In an HTA, how can I read the individual lines in a multi-line text box? -- KM Hey, KM. You know, to be perfectly honest the Scripting Guy who writes this column has always had a grudging admiration for people who do totally ridiculous...
Hey, Scripting Guy! Blog
How Can I Change the Text for the Marquee Screen Saver?
Posted
over 6 years ago
by
ScriptingGuy1
2
Comments
Hey, Scripting Guy! How can I change the text for the Marquee screen saver? -- SJ Hey, SJ. Greetings from the frozen wasteland formerly known as Redmond, WA. On Monday night a freak November snowstorm hit the Seattle area. However, instead of leaving...
Hey, Scripting Guy! Blog
How Can I Rename a Folder?
Posted
over 6 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I add a suffix to a folder name? For example, I’d like to rename the folder C:\January to C:\January_2006. -- NB Hey, NB. You know, back in July the Scripting Guy who writes this column happened to wander through the living...
Hey, Scripting Guy! Blog
How Can I Position the Cursor in a Specific Text Box Each Time I Start an HTA?
Posted
over 6 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I position the cursor in a specific text box each time I start an HTA? -- BM Hey, BM. You know, if the Scripting Guy who writes this column has any regrets in life it’s that he didn’t become a Theoretical Physicist Guy....
Hey, Scripting Guy! Blog
How Can I Locate a Value in a Text File and Then Parse the Line of Text Where the Value Was Found?
Posted
over 6 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I open a CSV file, locate a value in column 1, then store the value in column 2 in a variable? -- THvdH Hey, HvdH. We have to be honest with you, it’s a little difficult for the Scripting Guy who writes this column to stay...
Hey, Scripting Guy! Blog
How Can I Add a Function to a Windows PowerShell Script?
Posted
over 6 years ago
by
ScriptingGuy1
3
Comments
Hey, Scripting Guy! How can I add a function to a Windows PowerShell script? -- TT Hey, TT. You know, we’re going to do something a little unusual today: we aren’t going to mention the fact that the University of Washington defeated Washington State...
Hey, Scripting Guy! Blog
How Can I Add a User to a Group If I Don’t Know the Distinguished Name of That User?
Posted
over 6 years ago
by
ScriptingGuy1
1
Comments
Hey, Scripting Guy! How can I add a user to an Active Directory group if I don’t know the distinguished name of that user? -- VO Hey, VO. You know, if we wanted to take the easy way out here we’d just tell you, “Sorry, but if you don’t know the distinguished...
Hey, Scripting Guy! Blog
How Can I Delete All the .BAK Files in a Folder That Are More Than 7 Days Old?
Posted
over 6 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I delete all the .BAK files in a folder that are more than 7 days old? -- KT Hey, KT. You know, on his way to work this morning the Scripting Guy who writes this column heard an advertisement for a local seafood restaurant...
Hey, Scripting Guy! Blog
How Can I Create a New Registry Key?
Posted
over 6 years ago
by
ScriptingGuy1
1
Comments
Hey, Scripting Guy! How can I create a new registry key? -- DL Hey, DL. First of all, for those of you who get all your news from the Hey, Scripting Guy! column (as if there was any other source for news and information?) we are happy to report that...
Hey, Scripting Guy! Blog
How Can I Add a Total Row to an Excel Spreadsheet?
Posted
over 6 years ago
by
ScriptingGuy1
3
Comments
Hey, Scripting Guy! How can I add a bunch of rows to an Excel spreadsheet and then stick a total row at the bottom? -- MW Hey, MW. Could we ask you a favor: is there any chance that you could write back later with this question? As you may or may not...
Hey, Scripting Guy! Blog
How Can I Extract Information Located Between Two Known Values in a Text File?
Posted
over 6 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! In a text file, how can I extract the information that appears between the string HOSTNAME= and a blank space? -- B Hey, B. You’ll have to pardon us if we seem a little sluggish today; we’re still recovering from all the fun and...
Hey, Scripting Guy! Blog
How Can I Map a Drive, Copy a File to That Drive, and Then Unmap the Drive?
Posted
over 6 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I map a drive, copy a file to that drive, and then unmap the drive? -- ZK Hey, ZK. You know, sometimes these questions are difficult for us to answer, simply because we don’t usually find ourselves performing the task being...
Hey, Scripting Guy! Blog
How Can I Change the Default Highlight Color for a Microsoft Word Document?
Posted
over 6 years ago
by
ScriptingGuy1
1
Comments
Hey, Scripting Guy! How can I change the default highlight color for a Microsoft Word document? -- TW Hey, TW. You know, any time the Scripting Guy who writes this column wants to terrify the Scripting Son, he tells the blood-curdling saga of the first...
Hey, Scripting Guy! Blog
How Can I Use Windows PowerShell to Get a List of All My Computers?
Posted
over 6 years ago
by
ScriptingGuy1
11
Comments
Using Windows PowerShell, how can I retrieve a list of all the computer accounts in my domain? -- TE Hey, TE. You know, several years ago the Scripting Guy who writes this column was playing basketball with one of his brothers. Because there were a...
Hey, Scripting Guy! Blog
How Can I Create a Custom Date Format in Microsoft Excel?
Posted
over 6 years ago
by
ScriptingGuy1
1
Comments
Hey, Scripting Guy! In Microsoft Excel, how can I display a date like 01/20/2006 using this format: 20060120? -- CM Hey, CM. Who do we make the check out to again? And for how much? Oh, sorry. After attending a parent meeting for the Scripting Son...
Hey, Scripting Guy! Blog
How Can I Separate Hours and Minutes in a Date-Time Value?
Posted
over 6 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! In determining system uptime I get back a value like 65.75 hours. How can I convert this value to "65 hours and 45 minutes"? -- JM Hey, JM. We’ll see what we can do for you, but we have to be honest: this is a very sad day for the...
Hey, Scripting Guy! Blog
How Can I Extract the Text Between the Header and Footer in a Text File?
Posted
over 6 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I extract the text between the header and footer in a text file? -- LL Hey, LL. Before we answer your question we should point out that, depending on when you’re reading this, you might be missing Day 1 of Windows PowerShell...
Hey, Scripting Guy! Blog
How Can I Run a Macro After Opening Up Word?
Posted
over 6 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I run a specified Word macro after opening Word using a script? -- JD Hey, JD. You know, when they first tested the atomic bomb a number of physicists had legitimate fears that the bomb might set off an unstoppable chain...
Hey, Scripting Guy! Blog
How Can I Enable System Restore Using a Script?
Posted
over 6 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I enable Windows XP’s System Restore using a script? -- RL Hey, RL. Thanks for the question; the Scripting Guy who writes this column is running way late today, the clock is ticking, and he was desperately in need of a question...
Hey, Scripting Guy! Blog
How Can I Keep the Screen From Updating While Running an Excel Script?
Posted
over 6 years ago
by
ScriptingGuy1
1
Comments
Hey, Scripting Guy! I seem to recall that there’s a way to “freeze” the display in Microsoft Excel any time you carry out a lengthy operation; that way the user doesn’t see anything change until the operation is complete. Do you have any idea how I can...
Page 1 of 1 (20 items)