Sign in
TechNet Blogs
Technet Blog Images
More ...
Blog - Title
January, 2006
TechNet Blogs
>
Hey, Scripting Guy! Blog
>
January, 2006
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
How Can I Retrieve Information About the Latest Event Added to an Event Log?
Posted
over 7 years ago
by
ScriptingGuy1
1
Comments
Hey, Scripting Guy! How can I retrieve information about the latest event added to an event log? -- HG Hey, HG. You know, it seems like only yesterday that someone was asking us how they could find the oldest event in an event log. And we remember...
Hey, Scripting Guy! Blog
How Can I Find the Date of the Oldest Event in an Event Log?
Posted
over 7 years ago
by
ScriptingGuy1
3
Comments
Hey, Scripting Guy! How can I find the date of the oldest event in an event log? -- JL Hey, JL. You know, you just had to make a reference to “old” in your question, didn’t you? Just today one of the Scripting Guys received a letter from the American...
Hey, Scripting Guy! Blog
How Can I Count the Number of Computers in a Domain?
Posted
over 7 years ago
by
ScriptingGuy1
3
Comments
Hey, Scripting Guy! How can I count the number of computers in a domain? -- TN Hey, TN. Here’s a true story for you. About 5 years ago, when one of the Scripting Guys first started at Microsoft, his group here (which might not be the most technically...
Hey, Scripting Guy! Blog
How Can I Auto-Delete Specific File Types from the My Pictures Folder?
Posted
over 7 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I auto-delete specific file types from the My Pictures folder? If an error occurs with my fax machine, .drg and .txt files get added to My Pictures. I then have to delete these files before the fax machine will work again....
Hey, Scripting Guy! Blog
How Can I Get a List of All the Objects that have been Added to Active Directory Since a Specified Date?
Posted
over 7 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I get a list of all the objects that have been added to Active Directory since a specified date? -- KR Hey, KR. First of all we’d like to apologize if our answer here is still a little soggy. No doubt you’ve seen cartoons...
Hey, Scripting Guy! Blog
How Can I Display the IP Addresses Associated with a Given MAC Address?
Posted
over 7 years ago
by
ScriptingGuy1
2
Comments
Hey, Scripting Guy! How can I display the IP addresses associated with a given MAC address? -- NK Hey, NK. Before we answer your question we should take a moment to answer a related question. People often ask us, “If I have a MAC address can I write...
Hey, Scripting Guy! Blog
How Can I Add a User to a Group, but Only if that User is a Member of the IT Department?
Posted
over 7 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I add a user to a group, but only if that user is a member of the IT department? -- JV Hey, JV. You know, this is your lucky day: not only are we going to show you how you can add a specified user to a group (assuming, of...
Hey, Scripting Guy! Blog
How Can I Extract a Series of Characters Found in the Middle of a String?
Posted
over 7 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I have a series of strings that look something like this: xxxxyyyyyyxx . How can I extract just the y’s? -- JB Hey, JB. And, yes, it is a Friday. But, hey, it’s just a coincidence that we happened to pick an easy question on a Friday...
Hey, Scripting Guy! Blog
How Can I Tell Which Users are Connected to a Print Queue?
Posted
over 7 years ago
by
ScriptingGuy1
1
Comments
Hey, Scripting Guy! How can I tell which users are connected to a print queue? -- RE Hey, RE. You know, if your printers are anything like the ones the Scripting Guys are used to working with then it’s easy to tell which users are connected to a print...
Hey, Scripting Guy! Blog
How Can I Change the Size of a Page File?
Posted
over 7 years ago
by
ScriptingGuy1
2
Comments
Hey, Scripting Guy! How can I change the size of a page file? -- HM Hey, HM. You know this is a somewhat unusual question for us. Why? Because there’s a very easy and straightforward answer, which doesn’t involve weird workarounds, doesn’t need to...
Hey, Scripting Guy! Blog
How Can I Tell Whether a Logon Script is Running on a Workstation or on a Server?
Posted
over 7 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I tell whether a logon script is running on a workstation or on a server? If the script is running on a server, I want to skip a portion of the script. -- RT Hey, RT. You know, a few years ago one of the Scripting Guys helped...
Hey, Scripting Guy! Blog
How Can I Get Total Size and Number of Items in an Office Outlook Folder?
Posted
over 7 years ago
by
ScriptingGuy1
1
Comments
Hey, Scripting Guy! How can I get the total number of items - and the total size - of all the items in my Inbox and Sent Items folders? -- CS Hey, CS. You know, one of the Scripting Guys has a foolproof method for determining this information. What...
Hey, Scripting Guy! Blog
How Can I List All the Sub-OUs in an OU?
Posted
over 7 years ago
by
ScriptingGuy1
2
Comments
Hey, Scripting Guy! How can I list all the sub-OUs in an OU? That includes any OUs that might be in those sub-OUs. -- JE Hey, JE. If you’re the least bit familiar with this column then you know that we Scripting Guys love to answer questions that involve...
Hey, Scripting Guy! Blog
How Can I Determine Which Day of the Year a Date Falls On?
Posted
over 7 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I determine which day of the year a date falls on? For example, March 2, 2006 is the 61 st day of the year. -- TW Hey, TW. You know, we almost feel guilty about answering this question. Why? Well, after all, we can answer...
Hey, Scripting Guy! Blog
How Can I Take Ownership of a File or Folder By Using a Script?
Posted
over 7 years ago
by
ScriptingGuy1
4
Comments
Hey, Scripting Guy! How can I take ownership of a file or folder using a script? -- RV Hey, RV. Interesting question. In the past, the Scripting Guys have tried to take ownership of a Porsche 911, beachfront property in Hawaii, and the New York Yankees;...
Hey, Scripting Guy! Blog
How Can I Change the Font Name and Size for an Entire Word Document?
Posted
over 7 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I change the font name and size for an entire Word document? -- CD Hey, CD. You know, this question reminded us of how old we Scripting Guys are getting - well, all of us except for Jean, of course, who continues to get...
Hey, Scripting Guy! Blog
How Can I Remove All the Black-and-White Printers on a Computer?
Posted
over 7 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! On a Windows XP computer, how can I remove all the black-and-white printers, leaving only color printers? -- JL Hey, JL. You know, in one classic episode of the Simpsons, Bart, in the throes of a sugar high, joins the Junior Campers...
Hey, Scripting Guy! Blog
How Can I Determine Which Text has been Selected in an HTA?
Posted
over 7 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I determine which text has been selected in an HTA? -- DO Hey, DO. You know, most people think that writing the Hey, Scripting Guy! column every day is one of the most glamorous and exciting jobs in the world. And it probably...
Hey, Scripting Guy! Blog
How Can I Purge a Print Queue on a Print Server?
Posted
over 7 years ago
by
ScriptingGuy1
1
Comments
Hey, Scripting Guy! How can I purge a print queue on a print server? I need to do this on both Windows 2000 and Windows Server 2003. -- KD Hey, KD. And hey: no fair! Lots of times we take the easy way out in this column: we provide an answer that works...
Hey, Scripting Guy! Blog
How Can I Move All the Users from One OU to Another OU?
Posted
over 7 years ago
by
ScriptingGuy1
2
Comments
Hey, Scripting Guy! How can I move all the users from one OU to another OU? -- PD Hey, PD. You know, when you work at Microsoft you quickly learn to hate to word “move.” After all, if it wasn’t for the fact that we own the buildings you would think...
Hey, Scripting Guy! Blog
How Can I Remove All the Blank Lines from a Text File?
Posted
over 7 years ago
by
ScriptingGuy1
3
Comments
Hey, Scripting Guy! How can I remove all the blank lines from a text file? -- RE Hey, RE. You know, back in the year 2002, when the Scripting Guys were still just lowercase scripting guys, we began working on the Microsoft Windows 2000 Scripting Guide...
Page 1 of 1 (21 items)