Sign In
TechNet Blogs
Technet Blog Images
More ...
Tweet tweet!
Translate this page
Powered by
Microsoft® Translator
Related Links
Blog Home
Script Center Home
Scripting Library
Learn to Script
Script Repository
Scripting Forum
2012 Scripting Games
Common Tasks
Blog Home
RSS for comments
RSS for posts
Atom
OK
Email Blog Author
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
2009 Summer Scripting Games (42)
2010 Scripting Games (115)
2011 Scripting Games (132)
2012 Scripting Games (125)
Active Directory (216)
ActiveX Data Objects (ADO) (30)
Advanced (70)
arrays hash tables and dictionary objects (29)
Beginner (96)
CSV and other delimited files (35)
databases (57)
dates and times (56)
desktop management (111)
displaying output (32)
event logs (45)
events and monitoring (37)
Excel spreadsheet (52)
Excel.Application (31)
files (140)
folders (74)
general management tasks (55)
getting started (299)
groups (39)
guest blogger (264)
Internet Explorer (31)
leaderboard (57)
local accounts and Windows NT 4.0 accounts (33)
Logs and monitoring (48)
Microsoft Excel (114)
Microsoft Outlook (49)
Microsoft Word (95)
multimedia (30)
Office (286)
operating system (229)
other Directory Services (34)
performance (32)
printing (31)
prize winners (32)
processes (48)
Quick-Hits Friday (88)
registry (82)
regular expressions (39)
running (86)
Scripting Guy! (2162)
scripting techniques (990)
Scripting Wife (85)
Sean Kearney (50)
searching Active Directory (63)
security (44)
servers (31)
services (31)
sponsors (38)
storage (211)
string manipulation (48)
text files (147)
troubleshooting (39)
user accounts (89)
using the Internet (38)
VBScript (1049)
Web pages and HTAs (71)
Weekend Scripter (186)
Windows PowerShell (1300)
Windows PowerShell ISE (33)
WMI (159)
writing (45)
Archives
Archives
May 2012
(29)
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)
June, 2010
TechNet Blogs
>
Hey, Scripting Guy! Blog
>
June, 2010
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 Convert a VBScript That Searches Text Files into Windows PowerShell?
Posted
over 2 years ago
by
ScriptingGuy1
0
Comments
Q: Hey Scripting Guy! I need to convert a VBScript into Windows PowerShell 2.0. The script reads the first line of all text files that are in a particular folder, and if a specific word is in that file, it moves the text file to an archive folder. ...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How can I use Windows PowerShell to Search a Text File for multiple strings?
Posted
over 2 years ago
by
ScriptingGuy1
1
Comments
Q: Hey Scripting Guy! I need help migrating a script from VBScript to Windows PowerShell 2.0. The VBScript is one that I based upon an old Hey Scripting Guy! article. I use it to search a text file for specific words. If the words are found, the script...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Use Windows PowerShell to Create a Text File with Fixed-Length Lines?
Posted
over 2 years ago
by
ScriptingGuy1
2
Comments
Hey, Scripting Guy! I am trying to learn Windows PowerShell 2.0, but I am having some issues when it comes to string manipulation. I have been a faithful reader of the Scripting Guys for several years, and I have found many of the scripts...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! Weekend Scripter: Timing the Windows PowerShell Pipeline
Posted
over 2 years ago
by
ScriptingGuy1
1
Comments
Microsoft Scripting Guy Ed Wilson here. I decided to get up early this morning and head out with my laptop, a camera, and my panama hat. My destination? Battery Park . The Scripting Wife and I are in Charleston , South Carolina , for the weekend, and...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! Weekend Scripter: Playing Around with the Windows PowerShell Tokenizer
Posted
over 2 years ago
by
ScriptingGuy1
0
Comments
Microsoft Scripting Guy Ed Wilson here. Once again, the Scripting Wife and I are on the road. This weekend we are heading to Charleston, South Carolina, to hang out and to see a couple music groups. The Scripting Wife is driving, and I am playing around...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (6/25/10)
Posted
over 2 years ago
by
ScriptingGuy1
2
Comments
In this post : What in the World Is Wrong with This Windows PowerShell Script I Wrote? How Can I Make a Script Run When a User Logs On? What in the World Is Wrong with This Windows PowerShell Script I Wrote? ...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Use Windows PowerShell to Add Hyperlinks to a Word Document?
Posted
over 2 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I need to add hyperlinks to a document by using Windows PowerShell . But I do not want to add hyperlinks to objects that are set in a code style or a heading style. I only want to add the hyperlink to the word if it is in a normal...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! Can I Use Windows PowerShell 2.0 to Print a List of Keyboard Shortcuts for Microsoft Word?
Posted
over 2 years ago
by
ScriptingGuy1
1
Comments
Hey, Scripting Guy! We are getting ready to deploy Office 2010 to our user community, and I need to use Windows PowerShell 2.0 to print a list of keyboard shortcuts for working with Microsoft Word. In the past, I was able to print a chart of all the keyboard...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Use Windows PowerShell 2.0 to Convert DOC Files to DOCX Files?
Posted
over 2 years ago
by
ScriptingGuy1
2
Comments
Hey, Scripting Guy! I need to use Windows PowerShell 2.0 to convert Microsoft Word documents to the new document format. If a user opens an old document (.doc) file extension in Microsoft Word 2010 and makes changes, they are prompted about saving the...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Count the Words in a Bunch of Microsoft Word Documents?
Posted
over 2 years ago
by
ScriptingGuy1
1
Comments
Hey, Scripting Guy! I need to be able to use Windows PowerShell 2.0 to count the number of words in a bunch of Microsoft Word documents. All of the documents are stored in a specific folder, but there are a mixture of Microsoft Word 2010 and Microsoft...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! Weekend Scripter: More Fruity Fun with Windows PowerShell Enumerations
Posted
over 2 years ago
by
ScriptingGuy1
1
Comments
Microsoft Scripting Guy Ed Wilson here. The neighbor’s dog never seems to sleep. It is up early this morning, singing for its breakfast. I have news for the creature: Its voice is not nearly as great as he thinks it is. Oh, well, for these past...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! Weekend Scripter: Using Enumerations in Scripts
Posted
over 2 years ago
by
ScriptingGuy1
0
Comments
Microsoft Scripting Guy Ed Wilson here. The Scripting Wife and I are on the road again. She is driving, and I am playing around with Windows PowerShell enumerations. Teresa made friends with a couple we met in the concierge lounge of our hotel in Lisbon...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (6/18/10)
Posted
over 2 years ago
by
ScriptingGuy1
1
Comments
In this post : In Windows PowerShell, How Can I Pipe the Contents of a Property to a Command? Using WMI for Security Event Log Tracing In Windows PowerShell, How Can I Pipe the Contents of a Property to a Command? Hey, Scripting Guy! I’m...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Sign Windows PowerShell Scripts with an Enterprise Windows PKI? (Part 2 of 2)
Posted
over 2 years ago
by
ScriptingGuy1
1
Comments
Hey Scripting Guy! Will you give us the final steps in the step-by-step guide about how to use an existing Windows PKI installation to sign Windows PowerShell scripts, or were you just kidding yesterday ? --HR Hello HR, Microsoft Scripting...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Sign Windows PowerShell Scripts with an Enterprise Windows PKI? (Part 1 of 2)
Posted
over 2 years ago
by
ScriptingGuy1
3
Comments
Hey, Scripting Guy! Would you please write an article that is a step-by-step guide about how to use an existing Windows PKI installation to sign Windows PowerShell scripts? -- HR Hello HR, Microsoft Scripting Guy Ed Wilson here. I am so...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Use the Windows Forms TreeView Control?
Posted
over 2 years ago
by
ScriptingGuy1
3
Comments
Today we have a guest article by Ravikanth who works at Dell, Inc., as a lead engineer in the SharePoint Solutions Team. He loves automation and is a Windows PowerShell fanatic. He writes regularly on his blog about topics related to Windows PowerShell...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How About a 2010 Scripting Games Recap from One of the Judges?
Posted
over 2 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How about a brief recap from one of the judges of the 2010 Scripting Games? -- SW Hello SW, Microsoft Scripting Guy Ed Wilson here. I am glad you asked. We have just such a recap from Don Jones, expert commentator and judge...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! Weekend Scripter: Testing for a Loaded Enumeration
Posted
over 2 years ago
by
ScriptingGuy1
0
Comments
Microsoft Scripting Guy Ed Wilson here. The constant pounding of the waves against the shore has a calming effect upon stressed psyches. The moist salty ocean air carries to the balcony as the sea spray from the waves wafts along the brisk breeze that...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! Weekend Scripter: Enumerations and Values
Posted
over 2 years ago
by
ScriptingGuy1
0
Comments
Microsoft Scripting Guy Ed Wilson here. The Scripting Wife met me as I was coming down the back stairs with her suitcase packed. “Good morning, my dear! What’s up?” I exclaimed with a hint of curiosity in my voice. “We are...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! What Are the Areas for Improvement You See in Scripts Submitted for the 2010 Scripting Games?
Posted
over 2 years ago
by
ScriptingGuy1
3
Comments
Hey, Scripting Guy! What type of errors and mistakes did you notice in the entries for the 2010 Scripting Games? -- BA Hello BA, Microsoft Scripting Guy Ed Wilson here. I am a really laid back sort of guy, and I do not like the words “errors”...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Log Out a User if They Launch a Particular Application?
Posted
over 2 years ago
by
ScriptingGuy1
1
Comments
Hey, Scripting Guy! I need to be able to use Windows PowerShell 2.0 to log a user out of their desktop machine if they launch a particular application. This is not for security reasons or to keep people from playing games. This is because we have a really...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Use Windows PowerShell 2.0 to Create a Text File of a Specific Size?
Posted
over 2 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I need to be able to use Windows PowerShell 2.0 to create a text file that is a specific size. I know that I can create a text file by using FSUTIL, but when I open the file, it is empty. Therefore, I would like a text file that contains...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How to Query the Contents of a Special Folder on a Windows 7 Computer?
Posted
over 2 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I need to query for the contents of a special folder on my Windows 7 computer. I would like to use Windows PowerShell to do this. I know I can use the Get-ChildItem cmdlet to return the contents of a folder, but I am not sure how to...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Have Files Copied to a USB Drive When the Drive Is Inserted into a Computer?
Posted
over 2 years ago
by
ScriptingGuy1
1
Comments
Hey, Scripting Guy! I would like to be able to use Windows PowerShell 2.0 to monitor for the insertion of a portable USB drive into a computer. When the drive is detected as having been added to the computer, I would like to have the script copy files...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! Weekend Scripter: The Fruity Bouquet of Windows PowerShell Enumerations
Posted
over 2 years ago
by
ScriptingGuy1
0
Comments
Microsoft Scripting Guy Ed Wilson here. Our alarm clock died a slow, but rather painless death. All of a sudden, it began to lose track of time. It would forget to wake us up in the morning, and worst of all, it would at times just randomly display time...
Page 1 of 2 (30 items)
1
2