Sign in
TechNet Blogs
Technet Blog Images
More ...
Blog - Title
April, 2007
TechNet Blogs
>
Hey, Scripting Guy! Blog
>
April, 2007
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
(44)
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 Remove the First Five Lines From All the Log Files in a Folder?
Posted
over 6 years ago
by
ScriptingGuy1
1
Comments
Hey, Scripting Guy! I have about 400 log files in a folder. I need to go in and remove the first 5 lines from each of those log files. How can I write a script to do that? -- JW Hey, JW. Before we begin we need to issue a clarification. A few days...
Hey, Scripting Guy! Blog
How Can I Assign a Background Color to Cells in a Spreadsheet and Then “Sum” Those Cells?
Posted
over 6 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I assign a background color (based on a specified value) to a spreadsheet cell and then “sum” those cells? -- JC Hey, JC. Thanks for the question. And yes, you heard correctly: in his last game the Scripting Son did indeed...
Hey, Scripting Guy! Blog
How Can I Start a Process and Then Log the User Off When That Process Ends?
Posted
over 6 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I write a script that starts a process, waits until that process ends, and then logs the user off the computer? -- AG Hey, AG. You know, the Scripting Guy who writes this column is never one to brag, mainly because he never...
Hey, Scripting Guy! Blog
How Can I Sort a Row in an Excel Spreadsheet?
Posted
over 6 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I sort a row in an Excel spreadsheet? -- RF Hey, RF. You know, this is a tough question, but as a resident of the state of Washington the Scripting Guy who writes this column doesn’t shy away from a challenge. Therefore...
Hey, Scripting Guy! Blog
How Can I Get the Command Window to Stay Open When I Right-Click a Script and Choose Open With Command Prompt?
Posted
over 6 years ago
by
ScriptingGuy1
3
Comments
Hey, Scripting Guy! How can I get the command window to stay open when I right-click a .VBS file and choose Open With Command Prompt ?? -- BB Hey, BB. You know, according to BB’s email signature, he’s 9 years old. If that’s true, well, that’s absolutely...
Hey, Scripting Guy! Blog
How Can I Replace the First Five Characters in a Text File With the First Five Characters in the Computer Name?
Posted
over 6 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I open a text file and replace the first 5 characters with the first 5 characters of the local computer name? -- EC Hey, EC. You know, you might find this hard to believe (his fellow Scripting Guys absolutely refuse to believe...
Hey, Scripting Guy! Blog
How Can I Write a Script That Increments a Counter Each Time a Log File is Updated?
Posted
over 6 years ago
by
ScriptingGuy1
1
Comments
Hey, Scripting Guy! How can I write a script that increments a counter each time a particular log file gets updated? -- HJ Hey, HJ. You know, lately the Scripting Guy who writes this column has been victimized by a disturbing phenomenon: he keeps getting...
Hey, Scripting Guy! Blog
How Can I Get a List of All the Local Users Who Have an Expiring Password?
Posted
over 6 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I get a list of all the local users who have an expiring password? -- JM Hey, JM. Thanks for the question. Before we answer it, however, we have a question for you : you don’t by any chance have any spare dice lying around...
Hey, Scripting Guy! Blog
How Can I Tell Which Version of QuickTime is Installed on a Computer?
Posted
over 6 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I tell whether or not QuickTime is installed on a computer, and, if so, which version is installed? -- IU Hey, IU. You know, for some reason this column suddenly seems to have become a daily dancing column rather than a...
Hey, Scripting Guy! Blog
How Can I Tack a Prefix Onto the Telephone Numbers of All the Users in My Domain?
Posted
over 6 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I tack a prefix onto the telephone numbers of all the users in my domain? -- JB Hey, JB. It’s Monday morning as this column is being written, and the Scripting Guy who actually writes this column is still a bit tired from...
Hey, Scripting Guy! Blog
How Can I Read the Contents of a Text File and Then Declare the Contents as Variables?
Posted
over 6 years ago
by
ScriptingGuy1
1
Comments
Hey, Scripting Guy! How can I read the contents of a text file, and then declare those contents as variables? -- TC Hey, TC. Before we begin, did you really ask us this question? We’re positive that you did, but, the way things have been going lately...
Hey, Scripting Guy! Blog
How Can I Map Drive X on a Computer, But Only If Drive X isn’t Already in Use?
Posted
over 6 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I map drive X on a computer, but only if drive X isn’t already in use? -- PN Hey, PN. You know, this is almost too good to be true (but, sadly, it is true). The Scripting Guy who writes this column was busy writing this...
Hey, Scripting Guy! Blog
How Can I Remove the Password When Opening an Excel Spreadsheet?
Posted
over 6 years ago
by
ScriptingGuy1
5
Comments
Hey, Scripting Guy! How can I remove the password when opening an Excel spreadsheet? -- JE Hey, JE. You know, it’s finally happened: after two-and-a-half years of writing this column we’ve finally run out of things to talk about. The “heartbeat sensor...
Hey, Scripting Guy! Blog
How Can I Get a List of All the Users Who Have a Process Open on a Computer?
Posted
over 6 years ago
by
ScriptingGuy1
3
Comments
Hey, Scripting Guy! How can I get a list of all the users who have a process open on a computer? -- RE Hey, RE. You know, over the past 5 years the number of people who watch the news on the major networks (ABC, NBC, and CBS) has dropped precipitously;...
Hey, Scripting Guy! Blog
How Can I Filter Outlook Messages By Email Address?
Posted
over 6 years ago
by
ScriptingGuy1
1
Comments
Hey, Scripting Guy! I read your article on filtering email messages in Microsoft Outlook, and it’s almost what I need, but not quite. What I really need to know is this: how can I filter Outlook messages by the email address of the person who sent the...
Hey, Scripting Guy! Blog
How Can I Tell Whether a Laptop Computer is Running Off Batteries?
Posted
over 6 years ago
by
ScriptingGuy1
2
Comments
Hey, Scripting Guy! How can I tell whether a laptop computer is running off batteries? -- TJ Hey, TJ. Ah, yes: batteries. Back in December the Scripting House lost power for six days. Was the Scripting Guy who writes this column concerned? Of course...
Hey, Scripting Guy! Blog
How Can I Let Users Choose a Default Printer From a List of Printers?
Posted
over 6 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! In a logon script, how can I enable users to choose a default printer from a list of the printers installed on their computer? -- JD Hey, JD. You know, a lot of people write in to say, “Hey, Scripting Guys! Why do you limit yourselves...
Hey, Scripting Guy! Blog
How Can I Configure an Expiration Date for a Local User Account?
Posted
over 6 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I configure an expiration date for a local user account? -- GW Hey, GW. You know, it’s amazing how quickly things change in the fast-paced world of system administration scripting. For example, in Monday’s column we announced...
Hey, Scripting Guy! Blog
How Can I Import an Excel Spreadsheet Into an Access Database?
Posted
over 6 years ago
by
ScriptingGuy1
5
Comments
Hey, Scripting Guy! How can I import an Excel spreadsheet into an Access database? -- IE Hey, IE. Wait! Don’t tell us; let us guess. Just a moment … we’re picking up the vibrations now … the sensation is getting stronger and more distinct … OK, got...
Hey, Scripting Guy! Blog
How Can I Save a Table in an Access Database as a Spreadsheet?
Posted
over 6 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I save a table in an Access database as an Excel spreadsheet? -- OT Hey, OT. You know, we appreciate the question, but where were you last week, when we really needed you? The truth is, last week was excruciatingly dull...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Determine the Grace Period for a Computer Running Windows Vista?
Posted
over 6 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I determine the remaining operating system grace period for a computer running Windows Vista? -- LD Hey, LD. You know, a number of years ago the Scripting Guy who writes this column came outside after work only to discover...
Page 1 of 1 (21 items)