Sign in
TechNet Blogs
Technet Blog Images
More ...
Blog - Title
January, 2008
TechNet Blogs
>
Hey, Scripting Guy! Blog
>
January, 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
(54)
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 Use Windows PowerShell to Retrieve the Non-Unique Items in a List?
Posted
over 5 years ago
by
ScriptingGuy1
1
Comments
Hey, Scripting Guy! I understand that I can use Windows PowerShell and the Get-Unique cmdlet to determine which items are unique in a collection. However, I want to do the opposite: I want to determine which items are not unique in a collection. How can...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Display a Message or Change the Cursor When Carrying Out a Lengthy Operation in an HTA?
Posted
over 5 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I have an HTA in which I do a search and create a table with the results. The search takes quite some time, 30 seconds or so. The results are displayed within a span and show up only once the search is complete. I would like a message...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Change the Color of a Spreadsheet Cell Based on a Range of Values?
Posted
over 5 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I need a script that can read all the values in a spreadsheet and then change the background colors of the cells in that spreadsheet based on a range of values. For example, if the value is less than 20 the cell gets colored one color;...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Create a Disk Quota That Gives the User Unlimited Disk Space?
Posted
over 5 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! Your article " Managing Disk Quotas in Windows Server 2003 and Windows XP " is quite good but it leaves out one important detail: how can you specify an unlimited disk quota for a user? -- CA Hey, CA. You know, it’s funny. When...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Schedule an All-Day Event in Microsoft Office Outlook?
Posted
over 5 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I schedule an all-day event in Microsoft Office Outlook? -- RL Hey, RL. Have you ever heard the expression “every dog has its day”? Well, if you haven’t, the idea is that sooner or later everyone will...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Sort the Contents of a Text File in Numerical Order?
Posted
over 5 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I have a text file in which each line begins with a number. How can I sort the contents of that file by those numbers? -- KT Hey, KT. Tell you what: we’ll go ahead and answer your question. However, in return, you have...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Change the Priority of Each Instance of an Application?
Posted
over 5 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! Is there any way to permanently change the priority of a process? If there isn’t, how can I write a script that will monitor for new instances of this process and then change the priority each time the application runs? -- AM Hey...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Synchronize a Text File of Folder Names With the Subfolders in a Folder?
Posted
over 5 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I have a script that reads through a text file and then checks a folder to see if all the subfolder names listed in that text file actually exist. (For example, if the parent folder is C:\Scripts the script might check to see if a...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Import Multiple Worksheets into an Access Database?
Posted
over 5 years ago
by
ScriptingGuy1
5
Comments
Hey, Scripting Guy! I’m trying to import a spreadsheet into an Access database. The problem is that the spreadsheet has multiple worksheets. I can import the first worksheet without any problem, but I can’t figure out how to import all the...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Search For Values in an Excel Worksheet?
Posted
over 5 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I use Excel’s Find method to search for values within a worksheet? -- SK Hey, SK. Before we begin today, we have a question for you, and for everyone else out there in Scripting Land. Back when the Scripting Guys first started...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Use Windows PowerShell to Replace Characters in a Text File?
Posted
over 5 years ago
by
ScriptingGuy1
18
Comments
Hey, Scripting Guy! Using Windows PowerShell, how can I replace all the asterisks in a text file with some other character? -- RC Hey, RC. You know, a lot of people ask the Scripting Guy who writes this column, “How do you do it? How do you...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Extract Specific Information From a Word Document and Then Use That Information to Rename the Document?
Posted
over 5 years ago
by
ScriptingGuy1
1
Comments
Hey, Scripting Guy! I have a bunch of Word documents in a folder. I need to open each document, read in some information from the first two lines, then use that information to rename the file. However, I’m having some trouble getting this to work. Can...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Add a Record to a Database Using Windows PowerShell?
Posted
over 5 years ago
by
ScriptingGuy1
1
Comments
Hey, Scripting Guy! Awhile back you showed us how we could use Windows PowerShell to retrieve data from a Microsoft Access database. I’m now trying to add data to a database using PowerShell, but I can’t get the script to work. Any chance you could show...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Search For a Folder and Return the Folder Path?
Posted
over 5 years ago
by
ScriptingGuy1
2
Comments
Hey, Scripting Guy! How can I search a computer for a folder, and return the folder’s complete path? -- AW Hey, AW. We know a lot of you have been sitting on pins and needles, waiting for this announcement, so we won’t waste any time: yes, the Scripting...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Tally All the Items in a Microsoft Word Document?
Posted
over 5 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! We have an application that repeatedly runs a test and writes the result of each test pass to a Microsoft Word document. Periodically I’d like to be able to use a script to tally up the number of times a test passed, the number of...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I List All the Duplicate Files in a Folder and Its Subfolders?
Posted
over 5 years ago
by
ScriptingGuy1
3
Comments
Hey, Scripting Guy! How can I list all the duplicate files (that is, files with the same file names) in a folder and its subfolders? -- GK Hey, GK. We have to apologize, but you picked a bad day to ask a question. That’s because the Scripting...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Reset the Revision Number of a Word Document to 1?
Posted
over 5 years ago
by
ScriptingGuy1
2
Comments
Hey, Scripting Guy! How can I reset the revision number of a Microsoft Word document back to 1? -- JL Hey, JL. You know, a lot of people think the Scripting Guys have lost their edge. “You guys used to write all these crazy scripts that used all these...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Modify the Email Addresses of All the Users in an OU and Its SubOUs?
Posted
over 5 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I need to get a list of all the users in an OU and its subOUs, then change their email addresses so those addresses only user lowercase letters. How can I do that? -- TB Hey, TB. You know, we had to think twice before going ahead...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Copy the Membership of a Local Group to a New Local Group?
Posted
over 5 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I need to “clone” a local group; in other words, I want to create a new group that contains the same members as the original group. However, I can’t find any sort of copy command that would let me do this. How can I copy the membership...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Add a Domain Group to a Local Group?
Posted
over 5 years ago
by
ScriptingGuy1
1
Comments
Hey, Scripting Guy! How can I add a domain group to a local group? -- DR Hey, DR. Before we begin today, any chance that we could borrow $5 billion, at least until the next payday? Admittedly, it’s not our habit to go around asking for money, especially...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Delete a Set of Records From an Access Database?
Posted
over 5 years ago
by
ScriptingGuy1
1
Comments
Hey, Scripting Guy! We have an Access database that we use to keep track of resources that are associated with all of our projects. Periodically I need to go into the database and delete all the records tied to a particular project. Is there any way that...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Remove Group Members Whose User Accounts Reside in a Specific OU?
Posted
over 5 years ago
by
ScriptingGuy1
1
Comments
Hey, Scripting Guy! I have a problem and I haven’t quite figured out how to solve it. I have an Active Directory group, and I’d like to remove some users from that group; in particular, I’d like to remove all the users whose user accounts...
Page 1 of 1 (22 items)