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)
May, 2009
TechNet Blogs
>
Hey, Scripting Guy! Blog
>
May, 2009
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Hey, Scripting Guy! Blog
Scripting: Your First Steps
Posted
over 3 years ago
by
ScriptingGuy1
9
Comments
A long time ago, even before any of the Scripting Guys were born, people used to walk from one place to another. Not for exercise or recreation, but because they had to get somewhere. Those who were fortunate enough to have other forms of transportation...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Use Windows PowerShell to Run Daily Checks on My SQL Server 2008 Servers?
Posted
over 3 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I have several items I have to check daily on my SQL 2008 servers. I currently have some VBScripts that do many of my tasks, but there are some new things I want to do. I figure that Windows PowerShell would be easier. Do you have...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Use the SQL Server Mini-Shell Version of Windows PowerShell?
Posted
over 3 years ago
by
ScriptingGuy1
2
Comments
Hey, Scripting Guy! One thing I do not understand is why the SQL Server team wrote its own version of Windows PowerShell. I thought Windows PowerShell was supposed to standardize things. But the SQL Server team has one version of Windows PowerShell, the...
Hey, Scripting Guy! Blog
Details Leaked About the 2009 Summer Scripting Games!
Posted
over 3 years ago
by
ScriptingGuy1
5
Comments
It is time once again for the annual Scripting Games. This year, we are implementing some changes. The first change, which will be immediately obvious to even the most casual observer, is that we are doing the Summer Scripting Games instead of having...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Does Windows PowerShell Make It Easier to Work with SQL Server 2008?
Posted
over 3 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I am a SQL database administrator, and in the past I have enjoyed using VBScript for many tasks related to my computers that are running SQL Server. What capabilities does Windows PowerShell provide to make working with SQL Server...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! Why Should I Use Windows PowerShell with SQL Server 2008?
Posted
over 3 years ago
by
ScriptingGuy1
2
Comments
Hey, Scripting Guy! I recently saw that SQL Server 2008 has Windows PowerShell built into it. I looked at, but I am not really impressed. Why should I be interested in using Windows PowerShell with SQL Server 2008? - JJ Hi JJ, For some unknown...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (05/22/09)
Posted
over 3 years ago
by
ScriptingGuy1
0
Comments
How Can I Determine if a Particular Windows Feature Is Installed? Hey, Scripting Guy! I am new to Windows PowerShell scripting and have a little experience with WMI thanks to your Windows PowerShell Scriptomatic tool. I'm trying to determine whether...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Perform More Than One Action with the Win32_Printer WMI Class?
Posted
over 3 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! The Win32_Printer WMI class has several methods that are listed in it. But I am not sure how to best use these methods from inside a Windows PowerShell script. I do not want to create four different scripts to send a test page, clean...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Use Windows PowerShell to Remove Old Printer Connections, List Printers, and Set New Default Printers?
Posted
over 3 years ago
by
ScriptingGuy1
2
Comments
Hey, Scripting Guy! Well it finally happened. Our budget request for new printers was approved. We have gotten them unboxed, distributed, and hooked up to the LAN. We have even downloaded the latest drivers from the Internet, and updated the firmware...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Use WMI to Add a Printer Connection by Using Windows PowerShell?
Posted
over 3 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I am trying to determine how to use WMI to add a printer connection by using Windows PowerShell. I have found this script , but it uses VBScript and not WMI. This means that it is not very close at all, I am afraid. Do you have a WMI...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Document Printer Usage on Client Workstations?
Posted
over 3 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I am tasked with the problem of documenting printer use on our client workstations. I must be able to determine whether someone prints directly to a printer, or if they are printing through our print servers. This is important because...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (05/15/09)
Posted
over 3 years ago
by
ScriptingGuy1
0
Comments
Troubleshooting a Script Written in VBScript Hey, Scripting Guy! I am writing a Visual Basic script which runs a command-line installation of Exchange 2007. However as soon as the installation starts in a separate DOS window, the script goes to the next...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Use Windows PowerShell to Look for and Replace a Word in a Microsoft Word Document?
Posted
over 3 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! The week of April 17, 2009 , you did a weeklong series of “Hey, Scripting Guy!” articles on regular expressions. I tried to change one of your scripts to open an office Word document that uses Windows PowerShell to look for a particular...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Convert to Windows PowerShell a VBScript Script That Creates a Table in Office Word?
Posted
over 3 years ago
by
ScriptingGuy1
2
Comments
Hey, Scripting Guy! I was looking through the Office Space Archive and came across a nice article that talks about how to create a table in Office Word . The article is interesting, but I am more interested in how to do this by using Windows PowerShell...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Convert to Windows PowerShell a VBScript Script to Which I Want to Make Significant Changes?
Posted
over 3 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I enjoyed talking to you yesterday at TechEd. Unfortunately, I did not think about this until I came back to my hotel room and read your "Hey, Scripting Guy!" column. It seems to me that you spent much time saying there was not much...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Convert a VBScript to a Windows PowerShell Script That Creates an Office Word Document with Hyperlinks?
Posted
over 3 years ago
by
ScriptingGuy1
1
Comments
Hey, Scripting Guy! I am trying to learn Windows PowerShell. I have a script that creates a Word document that has a series of hyperlinks in it. I want to be able to write that script in Windows PowerShell, but I am not sure where I should begin. As far...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (05/08/09)
Posted
over 3 years ago
by
ScriptingGuy1
0
Comments
How Can I List All Servers in a Domain That Have DHCP Installed? Hey, Scripting Guy! How can I quickly produce a list of all servers in the domain that have the DHCP Service installed? - SC Hi SC, On Windows Server 2008 and ater, use the WIN32_ServerFeature...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Evaluate a Condition and Select from Several Options with Windows PowerShell?
Posted
over 3 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I want to evaluate a condition and select from several different options. I know I could use the If…Then…ElseI f to do this, but it is somewhat cumbersome and yesterday you said there was a better way to do these kinds of things. What...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Use the If Statement in Windows PowerShell?
Posted
over 3 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I have a problem with a script I am trying to write. I have to evaluate between several conditions as they come into the script, but I do not understand the way the If statement in Windows PowerShell works. I even tried to use the...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Loop Through Collections with Windows PowerShell?
Posted
over 3 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! Your article yesterday was fairly interesting. The problem is that every time that you looped through something, you needed to basically know how many times that you would loop because you needed to be able to count it. Also your analogy...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Use Windows PowerShell to Handle Mind-Numbing, Repetitive Tasks?
Posted
over 3 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I have a number of tasks that I always have to do. These tasks are somewhat repetitive, and I want to be able to write a Windows PowerShell script to eliminate the repetition. Is there something I can use to help with the mind-numbing...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (05/01/09)
Posted
over 3 years ago
by
ScriptingGuy1
0
Comments
How Can I Get Help with Scripts I’m Writing? Hey, Scripting Guy! I am a novice scripter but am being diligent about learning more specifically around VBScript. I am following the Microsoft Press book, Windows Scripting Self-Paced Learning Guide...
Page 1 of 1 (22 items)