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)
March, 2007
TechNet Blogs
>
Hey, Scripting Guy! Blog
>
March, 2007
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Hey, Scripting Guy! Blog
How Can I Locate a Word in a Text File and Then Echo Back That Word and Any Remaining Text?
Posted
over 5 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I search for a word in a text file and then, after I find it, echo back that word and any remaining text in the text file? -- KA Hey, KA. Before we begin we’d like to thank the hundreds and hundreds of people who have sent...
Hey, Scripting Guy! Blog
How Can I Search a Text File for Strings Meeting a Specified Pattern?
Posted
over 5 years ago
by
ScriptingGuy1
6
Comments
Hey, Scripting Guy! How can I search a text file of product IDs and retrieve just those lines that meet a specified pattern? -- WT Hey, WT. Before we get to today’s question we were wondering if anyone else has seen the commercial for the car that...
Hey, Scripting Guy! Blog
How Can I Change the Color of the Scrollbars in an HTA?
Posted
over 5 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I change the color of the scrollbars in an HTA? -- IR Hey, IR. How many times have you thought to yourself, “Gee, the Scripting Guy who writes that column is so smart; how come he isn’t rich?” (OK, true, you’ve probably...
Hey, Scripting Guy! Blog
How Can I List All the Members of a Microsoft Outlook Distribution List?
Posted
over 5 years ago
by
ScriptingGuy1
3
Comments
Hey, Scripting Guy! How can I list all the members of a Microsoft Outlook distribution list? -- KH Hey, KH. You know, that’s an interesting question. As it turns out, you can – ow! Hey, let go! Ow! Stop it! Come on, give us a chance; we were just about...
Hey, Scripting Guy! Blog
How Can I Use Windows PowerShell to Be Notified When an Application Terminates?
Posted
over 5 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! We have an in-house application that, unfortunately, crashes a lot; when that happens we have to go through a lengthy procedure to restart the program. Using Windows PowerShell, is there any way I can be notified when this application...
Hey, Scripting Guy! Blog
How Can I Parse a Tab-Delimited File and Then Save That as a Comma-Separated Values File?
Posted
over 5 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I parse a tab-delimited file, and then save the resulting information as a comma-separated values file? -- DM Hey, DM. You know, yesterday morning the Scripting Guy who writes this column had to scrape the ice off his windshield;...
Hey, Scripting Guy! Blog
How Can I Determine the Signal Strength of a Wireless Connection?
Posted
over 5 years ago
by
ScriptingGuy1
1
Comments
Hey, Scripting Guy! Any time I’m connected to a wireless network I can open the Wireless Network Connection Status dialog box and see a series of bars – 1 through 5 – that indicates the signal strength. How can I get that same information using a script...
Hey, Scripting Guy! Blog
How Can Users Type Data Into an HTA Without Using Text Boxes?
Posted
over 5 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I use HTAs as data entry forms, but I don’t really like the way the forms look when they have a bunch of text boxes on them. How can I allow my users to type data into a form without using text boxes? -- JJ Hey, JJ. Before we begin...
Hey, Scripting Guy! Blog
How Can I Map a Drive Based on a User’s Name and OU?
Posted
over 5 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I need to create a logon script that maps a network drive based on the logged-on user’s user name and OU. How can I do that? -- KB Hey, KB. You know, KB, this is probably the toughest day of the year for the Scripting Guy who writes...
Hey, Scripting Guy! Blog
How Can I Delete a Desktop Shortcut If I Don’t Know the Shortcut’s File Path?
Posted
over 5 years ago
by
ScriptingGuy1
3
Comments
Hey, Scripting Guy! I need to delete some desktop shortcuts; however, I don’t know which folder those shortcuts might be in. For example, they might be in C:\Documents and Settings\All Users\Desktop or they might be in, say, C:\Documents and Settings...
Hey, Scripting Guy! Blog
How Can I Force a Specified Letter Case in an HTA?
Posted
over 5 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! In our company we often use HTAs as data entry forms. For some of our applications case-sensitivity is important; for example, our product numbers are case-sensitive. I know I can write a script to change letter case, but I was wondering...
Hey, Scripting Guy! Blog
How Can I Format a Series of Numbers as a Phone Number?
Posted
over 5 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I format a series of numbers as a phone number in Windows PowerShell? -- HR Hey, HR. You know, formatting is all about making things look a little nicer and a little more presentable. That’s why the Scripting Guy who writes...
Hey, Scripting Guy! Blog
How Can I Replace a Specified Font in a Microsoft Word Document?
Posted
over 5 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! We have a folder full of Word documents in which the author had an unfortunate tendency to use a strange font from time-to-time. How can I use a script to go in and replace just that strange font with Arial? -- Z D-F Hey, Z D-F...
Hey, Scripting Guy! Blog
How Can I Use Graphics in an HTA’s Bulleted List?
Posted
over 5 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! Often-times while browsing the Internet I run across Web pages where they used a bulleted list, except that they use little pictures as the bullets. Can I add that type of a bulleted list to my HTAs? -- JA Hey, JA. You know, as...
Hey, Scripting Guy! Blog
How Can I Determine the Follow-Up Status of Outlook Emails?
Posted
over 5 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I go through all the emails in an Outlook folder and determine which messages are flagged for follow-up and which messages were flagged for follow-up but are now complete? -- KF Hey, KF. We’ll be honest with you: we’re going...
Hey, Scripting Guy! Blog
How Can I Change a Service Description?
Posted
over 5 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I change a service description? -- DD Hey, DD. Well, we hope you’re happy, DD. Now the Scripting Guy who writes this column will never be able to sleep again – and it’s all your fault! Sure, we’ll explain what we mean...
Hey, Scripting Guy! Blog
How Can I Verify the System Time on a Remote Computer?
Posted
over 5 years ago
by
ScriptingGuy1
1
Comments
Hey, Scripting Guy! How can I verify the system time on a remote computer? -- MN Hey, MN. You know, recently the Scripting Guy who writes this column was reading about the “law of attraction,” which is supposedly a natural law of the universe that...
Hey, Scripting Guy! Blog
How Can I Tell If Any of My Contacts Have a Birthday This Month?
Posted
over 5 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I tell if any of my contacts have a birthday this month? -- VG Hey, VG. You sly fox, you: how did you know that the Scripting Guy who writes this column is celebrating his birthday?!? And no, you don’t need to send him a...
Hey, Scripting Guy! Blog
How Can I Apply a Theme to a Microsoft Word Document?
Posted
over 5 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I apply a theme to a Microsoft Word document? -- YP Hey, YP. You know, things finally seem to be getting back to normal here in the Seattle area. The weather over this past weekend was in the mid-50s, which is where it should...
Hey, Scripting Guy! Blog
How Can I Count the Number of Characters in a Text File?
Posted
over 5 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I count the number of characters in a text file? -- LD Hey, LD. We know a burning question for many of you (in addition to the question of how you can count the number of characters in a text file) is this: what kind of...
Hey, Scripting Guy! Blog
How Can I Modify a Text File and Then Extract Selected Lines From the Modified Contents?
Posted
over 5 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I write a script that modifies the contents of a text file and then copies specified lines from the modified contents to a new file? -- EH Hey, EH. There’s no way to do that. Now go away and leave us alone. Wait, sorry;...
Hey, Scripting Guy! Blog
How Can I Change the First Two Octets of an IP Address?
Posted
over 5 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I change the first 16 bits on an IP address? I want to keep the last 16 bits exactly the same. -- LD Hey, LD. Before we answer your question we should note that we are well aware that “suggestive” photos of an American Idol...
Page 1 of 1 (22 items)