Sign in
TechNet Blogs
Technet Blog Images
More ...
Blog - Title
June, 2010
TechNet Blogs
>
Hey, Scripting Guy! Blog
>
June, 2010
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
(53)
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 Convert a VBScript That Searches Text Files into Windows PowerShell?
Posted
over 3 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 3 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 3 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 3 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
Weekend Scripter: Playing Around with the Windows PowerShell Tokenizer
Posted
over 3 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 3 years ago
by
ScriptingGuy1
5
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 3 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 3 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 3 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 3 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 3 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 3 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 3 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 3 years ago
by
ScriptingGuy1
3
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 3 years ago
by
ScriptingGuy1
5
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 3 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 3 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 3 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 3 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 3 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 3 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 3 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 3 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 3 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 3 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