Sign in
TechNet Blogs
Technet Blog Images
More ...
Blog - Title
February, 2008
TechNet Blogs
>
Hey, Scripting Guy! Blog
>
February, 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
(47)
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 List All the Users in an OU Who Are Not Members of a Specified Group?
Posted
over 5 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I get a list of all the users in an OU who are not a member of a specified group? -- TJ Hey, TJ. You know, the Scripting Guys are having so much fun with the 2008 Winter Scripting Games that we just can’t bear to...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Move Files Based on a Portion of the File Name?
Posted
over 5 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I have tens of thousands of files that all have a file name that includes a number bounded by two underscore characters; for example, P_19_L00.jpg. I need to figure out which number is embedded in a file name, then move that file to...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Create a GUID Using Windows PowerShell?
Posted
over 5 years ago
by
ScriptingGuy1
1
Comments
Hey, Scripting Guy! I see that it is pretty easy to generate a GUID using Windows Script Host . But how can I do this using Windows PowerShell? -- DL Hey, DL. Before we begin we’d like to announce that the Scripting Guys are looking for 158...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Check the Value of a Specific Cell in a Bunch of Office Excel Spreadsheets?
Posted
over 5 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I create a script that will list all the files in a directory that have a specific value in a specific cell of an Office Excel workbook? And can that be expanded into a find/replace function? -- RDC Hey, RDC. Now that...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Find a Word in a Document and Change the Background Color of the Paragraph Where That Word Appears?
Posted
over 5 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I have a bunch of reports and log files that are saved as Microsoft Word documents. I’d like to be able to search for a specific word in one of these documents (e.g., the word “Failed”) and then change the background...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Replace Incorrect Dates in My File Names?
Posted
over 5 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! have a folder that has a whole bunch of files in it. Many of those files have a file name that includes an incorrect date; for example, the file might be named FGA Site Visit 2-14- 07 204.jpg when it should really be named FGA Site...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Set a Reminder on All My Office Outlook Appointments?
Posted
over 5 years ago
by
ScriptingGuy1
4
Comments
Hey, Scripting Guy! My manager does not like appointment reminders; therefore every meeting request she sends is without reminders. I like reminders and I try to remember to turn them on, but sometimes I forget; that means that if I'm not on top of my...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Mark the First Occurrence of a Number in an Office Excel Spreadsheet?
Posted
over 5 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I’m trying to determine – and mark – the first occurrence of a number in an Office Excel worksheet. However, I can’t figure out how to go about doing this. Can you help? -- BH Hey, BH. Before we launch...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Enable Users to Change File Extensions Using the SendTo Command?
Posted
over 5 years ago
by
ScriptingGuy1
2
Comments
Hey, Scripting Guy! Here’s what I would like to do. I would like to put a script in the SendTo folder that would enable a user to easily change the file extension for a file. (Typically our users hide the file extensions, which makes it difficult...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Extract Three-Digit Numbers From a String?
Posted
over 5 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I’m trying to use regular expressions to extract three-digit numbers that are enclosed by pipe characters; they embedded in string values like this: |159|468|572|843|. However, I can’t figure out the syntax that will get...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Use a Disconnected Recordset in Windows PowerShell?
Posted
over 5 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I use a disconnected recordset in Windows PowerShell? I’m able to create the recordset without any problem, but I can’t figure out how to reference the fields and values in that recordset. -- JVDL Hey, JVDL. Well, we must...
Hey, Scripting Guy! Blog
How Can I Run a Subroutine in an HTA After a Set Amount of Time?
Posted
over 5 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I have an HTA that asks users to either click a button to install some software or click Cancel . Sometimes, though, users don’t do either one; they just let the HTA sit there. Is there any way to show the HTA for a set amount of time...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Convert Pacific Standard Time to My Local Time?
Posted
over 5 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I really enjoyed the 2007 Winter Scripting Games, but one thing I noticed is that you listed the deadlines for all the events using Redmond time. I understand that you can’t list deadlines using the local time for every time zone in...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Use Windows PowerShell to Sort a CSV File?
Posted
over 5 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! have a comma-separated values file that includes several different fields. I’d like to be able to read this file from Windows PowerShell and then sort the information on one (or maybe more) of these fields. However, I can’t seem to...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Remove Extraneous Spaces From Fields in a Text File?
Posted
over 5 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I have a text file in which each field has a bunch of extra spaces tacked on to the end. How can I remove all those extra spaces? -- GC Hey, GC. Well, today is Monday, February 11 th , which can mean only one thing: the 2008 Winter...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Select Text in a HTA and Then Append That Text to a File?
Posted
over 5 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I read your column about the HTA that could load and then display all the files in a folder. That was pretty useful, but I had an idea to make it even better. When looking at a log file I often see portions of the log that I’d...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Read Custom Summary Information Properties for an Office Excel File?
Posted
over 5 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! We’ve added a number of custom properties to the summary information pages of our Office Excel files. How can I access those custom properties using a script? -- UR Hey, UR. You know, the Scripting Guy who writes this column almost...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Read Computer Names From a Text File and Then Verify Whether or Not Those Computers Still Exist?
Posted
over 5 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I read a list of computer names from a text file, and then check to see if those computers still exist in Active Directory? -- CL You know, that’s a good question, CL, we – hold on a second. Some of you out there look so sad;...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Count the Number of Sentences and Paragraphs in an Office Word Document?
Posted
over 5 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I just read your article about getting Word documents statistics and would like to know if there is any way of getting the number of sentences and paragraphs per document. -- RLP Hey, RLP. To be perfectly honest, now that the Super...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Create an HTA For Displaying Log Files?
Posted
over 5 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I have a bunch of log files (all in the same folder) that I periodically need to review. What I thought would be really cool would be to have an HTA that, when it starts up, retrieves all the log file names and displays those names...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Randomly Assign a Sound to a Sound Event?
Posted
over 5 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! Is there an easy way to randomize the selection of .wav files at the startup and shutdown of windows? -- DW Hey, DW. Last night as the Scripting Guy who writes this column was on his way home he stopped at a red light. (Which...
Page 1 of 1 (21 items)