Sign in
TechNet Blogs
Technet Blog Images
More ...
Blog - Title
May, 2008
TechNet Blogs
>
Hey, Scripting Guy! Blog
>
May, 2008
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
(45)
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
Hey, Scripting Guy! How Can I Copy the Extended Data of My Audio Files to an Excel Spreadsheet?
Posted
over 5 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 5 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 5 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 5 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 5 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 5 years ago
by
ScriptingGuy1
1
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 5 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 5 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 5 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 5 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 5 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 5 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 5 years ago
by
ScriptingGuy1
6
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 5 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 5 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 5 years ago
by
ScriptingGuy1
2
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 5 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 5 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 5 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 5 years ago
by
ScriptingGuy1
1
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 5 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)