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)
May, 2008
TechNet Blogs
>
Hey, Scripting Guy! Blog
>
May, 2008
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Copy the Extended Data of My Audio Files to an Excel Spreadsheet?
Posted
over 4 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! We have quite a large collection of speeches and audio training sessions that are sorted by … well, by nothing. However, all the ID3 tags [the file’s extended data] are up-to-date. Is there a way to extract the ID3 information from...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Search For a Specific Style in a Folder Full of Microsoft Word Documents?
Posted
over 4 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I have a folder with scores of Word documents in it. What I need to do is open each document, copy anything that uses the Heading 1 style, and then write that information (the file name and anything that uses the Heading 1 style) to...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Report Back File Dates Using Labels Like Today, Yesterday, and Last Week?
Posted
over 4 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! In Microsoft Outlook if you sort and group your email by date, you don’t just get groupings that show the date; instead, you get groupings like Today, Yesterday, Last Week, etc. I’d like to do something similar; I’d like to look at...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Tile Workbook Windows in Microsoft Excel?
Posted
over 4 years ago
by
ScriptingGuy1
2
Comments
Hey, Scripting Guy! I have a Windows PowerShell script that starts Excel and loads three comma-separated values files into separate workbooks. What I was wondering is whether there’s a way to have PowerShell tile these workbooks, either vertically or...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Extract Miscellaneous Computer Names From a Text File?
Posted
over 4 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I have a text file containing thousands of events. I need to read each line in that file and look for the name of the computer where an operation failed. The computer names can – and will – vary in length; however, the name will always...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Use Windows PowerShell to Determine Whether a Local User Account Exists?
Posted
over 4 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I use Windows PowerShell to determine if a specified local user account exists on a computer? -- MM Hey, MM. Have you ever heard the expression “good things come to those who wait”? Well, to tell you the truth, the Scripting...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Remove Delimiters, and Fix Apostrophes, in a CSV File?
Posted
over 4 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I have a comma-separated values file (CSV) that uses double quote marks as the field delimiter; unfortunately, this file also uses a double quote mark any time it should use an apostrophe (like in the name O’Malleys). Somehow I need...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Compare Two Strings Values and Then Report Back the Result of That Comparison?
Posted
over 4 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I need to write a command-line script that, given two arguments, can compare the two values and then – using standard errorlevel – report back whether string 1 is greater than or less than string 2, or if the two strings are identical...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Sort Digital Files By the Date Each Picture Was Taken?
Posted
over 4 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I read your article on renaming image files so that the pictures could then be sorted in chronological order. When I ran your script, however, it didn’t quite work for me: the files were renamed, but the pictures weren’t sorted the...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Search a Folder For All the Image Files That Are Not a Specified Height and Width?
Posted
over 4 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I have a folder on a server that contains employee photos, photos that will be used on our organization chart. New photos are taken daily for new staff members, and all the .JPG files are put into this folder. Because the photos are...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Delete All the Files in a Folder Except for the Most-Recently Created File?
Posted
over 4 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I have a folder that has about 50 files in it. How can I delete all those files except the one most-recently created? -- GA Hey, GA. You know, today would be a good day to review some of the items that have recently been in the...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Search a Text File for Activities That Took Place on a Specified Date?
Posted
over 4 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I’m trying to write a script that can go through a log file and determine the number of users who logged off on a particular day. Can you help me? -- TM Hey, TM. You know, when you work at Microsoft people think you probably come...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Move Emails From One Outlook Folder to Another?
Posted
over 4 years ago
by
ScriptingGuy1
3
Comments
Hey, Scripting Guy! You’ve had several articles that show how it’s possible to find specific email messages in Outlook; for example, you’ve shown us how to find all the emails sent by a particular person. What I was wondering is this: after you find these...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Determine the Distinguished Name of the OU Where the Logged-On User’s User Account Resides?
Posted
over 4 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! As part of a logon script, I need to determine the distinguished name of the OU for the user logging on. How can I do that? -- LK Hey, LK. Today is May 12 th , which might not mean much to you. But, then again, maybe it does;...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Use Windows PowerShell to Pick Out the Unique File Extensions Used in a Collection of Files?
Posted
over 4 years ago
by
ScriptingGuy1
2
Comments
Hey, Scripting Guy! I’m having a strange problem with Windows PowerShell, and I was wondering if you could help me solve it. I’m trying to get a list of the unique file extensions used by the files in a folder. I have a whole bunch of different file types...
Hey, Scripting Guy! Blog
How Can I Use Windows PowerShell to Report Back the Name and Creation Date for Files Containing a Specified String Value?
Posted
over 4 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! Using Windows PowerShell, how can I search for a string value in all the files in a folder full of text files, then report back the file name and creation date for each file where that string value was found? Oh, and I’d like to have...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Copy a Portion of a Microsoft Word Document to a New Microsoft Word Document?
Posted
over 4 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I find some text in a Microsoft Word document, copy the rest of the document from that point on, then paste the copied text into a brand-new Word file? -- CB Hey, CB. You know, it’s kind of a melancholic day here at Scripting...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Modify a .CSV File and Then Import That File into Microsoft Excel?
Posted
over 4 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I have a comma-separated values file that I need to import into Excel. However, before I do that I need to do some arithmetic and then add an additional field to the CSV file. On top of that, when I import this file I need to format...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Search for a Word in a Text File and Return the Entire Line Where That Word Was Found?
Posted
over 4 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I have a scenario in which I need to read a list of names from a text file. I then need to search for each of those names in a second text file; if a name is found I need to extract the entire line in which that name appears. I’ve...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Identify the 20 Most-Recently Modified Files in a Folder?
Posted
over 4 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I Using VBScript, how can I identify the 20 most-recently modified files in a folder? -- TW Hey, TW. You know, the Scripting Guy who writes this column was just reading – thanks to the magic of Spam email – about a new voice mail...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Change the Value and Color of a Spreadsheet Cell Based on the Sum of Other Cells in That Spreadsheet?
Posted
over 4 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I’m new to Excel, and I was wondering how to change the color of a cell if specific requirements are met. I have a spreadsheet that has three columns of numbers; I’d like to add the numbers in each row and, if they total 100, set the...
Page 1 of 1 (21 items)