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)
July, 2010
TechNet Blogs
>
Hey, Scripting Guy! Blog
>
July, 2010
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Hey, Scripting Guy! Blog
Using Windows PowerShell to Determine if a Laptop Is on Battery Power
Posted
over 2 years ago
by
ScriptingGuy1
4
Comments
Microsoft Scripting Guy Ed Wilson here. It is time for another road trip. This time we are heading to Asheville, North Carolina for the Blue Ridge Classic Horse Show. Somewhere deep in my Scripting Guy lineage is an association with Kentucky , which is...
Hey, Scripting Guy! Blog
Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (7/30/10)
Posted
over 2 years ago
by
ScriptingGuy1
0
Comments
In this post : How Can I Learn to Script? Troubleshooting a WMI Issue How Can I Get the Microsoft Script Debugger to Work? Choosing Between the 64-bit and x86 Versions of Windows PowerShell How Can I Learn to Script? ...
Hey, Scripting Guy! Blog
How to Add Data to an XML File Using Windows PowerShell
Posted
over 2 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I need to be able to use W indows PowerShell t o add data to an XML file. Unfortunately, there is no Add-XML cmdlet available. I thought about using the Windows PowerShell Add-Content cmdlet and trying to write my data to the file...
Hey, Scripting Guy! Blog
Writing Double Quotation Marks to a Text File Using Windows PowerShell
Posted
over 2 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I need to be able to write double quotation marks to a text file using Windows PowerShell . I know that in VBScript it was really annoying to do this because the quotation marks ended up getting confused with the quotation mark that...
Hey, Scripting Guy! Blog
Deleting Extra Returns and Line Feeds from a Text File Using Windows PowerShell
Posted
over 2 years ago
by
ScriptingGuy1
3
Comments
Hey, Scripting Guy! Is it possible to use Windows PowerShell to groom a text file by deleting extra returns and line feeds it may contain? Here is the deal. I have a file that we need to download each day. This file contains updated prices for...
Hey, Scripting Guy! Blog
Parsing an AuditPol.exe Report with Windows PowerShell 2.0
Posted
over 2 years ago
by
ScriptingGuy1
2
Comments
Hey, Scripting Guy! I have been using AuditPol.exe to verify the audit policy that is configured on our network. The problem is that the report that is generated has a lot of text, and it is not easy to see exactly what is being audited or not. Is it...
Hey, Scripting Guy! Blog
Windows PowerShell, Invalid Certificates, and Automated Downloading
Posted
over 2 years ago
by
ScriptingGuy1
3
Comments
Summary : If a trusted website has an expired or self-signed certificate, you must ignore the error to use Windows PowerShell with the website. Microsoft Scripting Guy Ed Wilson here. Years ago I used to teach MCSE training classes and one of my...
Hey, Scripting Guy! Blog
Weekend Scripter: Where.exe—The What, Why, and How
Posted
over 2 years ago
by
ScriptingGuy1
8
Comments
Microsoft Scripting Guy Ed Wilson here. The sounds outside seems amplified by the inky darkness that grudgingly gives way to the early morning sun. I am sitting on the front porch sipping a cup of English Breakfast Tea, munching on a freshly baked cinnamon...
Hey, Scripting Guy! Blog
Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (7/23/10)
Posted
over 2 years ago
by
ScriptingGuy1
0
Comments
In this post : How Do I Set Indexes in AD DS or AD LDS? How Do I Remove Windows PowerShell 1.0? Please Help Me Troubleshoot This VBScript Script! Can I Get an Offline Copy of All Exchange 2010 Articles on TechNet? How...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Use Windows PowerShell 2.0 to Find Active Directory Domain Services Groups Not Being Used?
Posted
over 2 years ago
by
ScriptingGuy1
7
Comments
Hey, Scripting Guy! I need to use Windows PowerShell 2.0 to find groups in Active Directory Domain Services (AD DS) that are not being used. Over the years, we have had several network administrators. Some of them were good, and some had challenges...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Copy Group Memberships from One Computer Account to Another in Active Directory Domain Services?
Posted
over 2 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I want to be able to copy the group memberships from one computer account in Active Directory Domain Services (AD DS) to another computer account in AD DS by using Windows PowerShell 2.0 and Active Directory cmdlets. It would be great...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Use Windows PowerShell to Identify Inactive User Accounts in Active Directory Domain Services?
Posted
over 2 years ago
by
ScriptingGuy1
2
Comments
Hey, Scripting Guy! I need to use Windows PowerShell to identify inactive user accounts in Active Directory Domain Services (AD DS). I used to have a VBScript script that I would use, but I would like to be able to use Windows PowerShell 2.0 and the new...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Use Windows PowerShell 2.0 to Retrieve Information About Domain Controllers?
Posted
over 2 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I need to use Windows PowerShell 2.0 to search Active Directory Domain Services (AD DS) to retrieve information about my Windows Server 2008 and Windows Server 2008 R2 domain controllers. I am specifically interested in determining...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! Weekend Scripter: How Can I Create, Display, and Then Delete a Temporary Text File?
Posted
over 2 years ago
by
ScriptingGuy1
0
Comments
Microsoft Scripting Guy Ed Wilson here, it’s a good thing I enjoy getting up early on weekends. To me, because I get up early during the week, it makes sense to get up early on the weekend and get busy doing things that I want to do. One of the...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! Weekend Scripter: Uniquifying and Validating Link Lists with Windows PowerShell
Posted
over 2 years ago
by
ScriptingGuy1
0
Comments
Microsoft Scripting Guy Ed Wilson here. It is a beautiful Saturday morning here in Charlotte, North Carolina , in the United States. The sky is dark blue and there are few if any clouds visible. It almost makes one dizzy while standing in the front yard...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Connect Two Group Policy Objects in Active Directory and Compare Them Offline? (Part 2)
Posted
over 2 years ago
by
ScriptingGuy1
3
Comments
Hey, Scripting Guy! I need to be able to connect to two Group Policy objects (GPOs) in Active Directory and make an offline copy of the GPOs using Windows PowerShell 2.0 so that I can compare the two objects. I know I can do this using the Group Policy...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Connect Two Group Policy Objects in Active Directory and Compare Them Offline? (Part 1)
Posted
over 2 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I need to be able to connect to two Group Policy objects (GPOs) in Active Directory and make an offline copy of the GPOs using Windows PowerShell 2.0 so that I can compare the two objects. I know I can do this using the Group Policy...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! Can I Use Group Policy Cmdlets to Test Active Directory Replication?
Posted
over 2 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I need to use the Microsoft Group Policy cmdlets and Windows PowerShell 2.0 to test Active Directory replication. Know how? -- RG Hello RG, Microsoft Scripting Guy Ed Wilson here. I had an Office Communicator conversation...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Use Group Policy Cmdlets to Back Up and Restore Group Policy Objects?
Posted
over 2 years ago
by
ScriptingGuy1
2
Comments
Hey, Scripting Guy! I want to know how to use the Group Policy cmdlets in Windows PowerShell to back up and to restore Group Policy objects (GPOs), and I have heard that there are Group Policy cmdlets in Windows 7 . Can you help me? -- GJ ...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! Can You Get Me Going on Windows PowerShell Cmdlets for Group Policy?
Posted
over 2 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I need to work with Group Policy Objects (GPOs) by using a Windows PowerShell script. I understand there are new Group Policy cmdlets in Windows 7, but when I use the Get-Command cmdlet, I do not see any cmdlets. Is this a Release...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! Weekend Scripter: Checking for Module Dependencies in Windows PowerShell
Posted
over 2 years ago
by
ScriptingGuy1
0
Comments
Microsoft Scripting Guy Ed Wilson here. One of the cool things about Windows PowerShell is that if you do not like the way it does things, you can change it. If there is something that is lacking in the released product, you can often find it in a module...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! Weekend Scripter: Getting Closure with the GetNewClosure Method
Posted
over 2 years ago
by
ScriptingGuy1
0
Comments
Microsoft Scripting Guy Ed Wilson here. The first weekend after vacation—ah! During my one-on-one meeting with my manager this past week, Steve asked me, “How is it going?” I replied, “I need a vacation from my vacation.”...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! Tell Me About PowerShell Community Extensions
Posted
over 2 years ago
by
ScriptingGuy1
2
Comments
Hey, Scripting Guy! What can you tell me about PowerShell Community Extensions ? -- KH Hello KH, Microsoft Scripting Guy Ed Wilson here. Probably the best person to answer your question is Keith Hill, our guest blogger today. About...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! Awww—Windows PowerShell Plays Nice-Nice with VBScript and Batch!
Posted
over 2 years ago
by
ScriptingGuy1
2
Comments
Hey, Scripting Guy! I would like to be able to integrate VBScript scripts into my Windows PowerShell code. I also have some batch files I wish I could use with Windows PowerShell. I do not want to have to rewrite code that works perfectly fine. Is this...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Change My Desktop Monitor Resolution via Windows PowerShell?
Posted
over 2 years ago
by
ScriptingGuy1
7
Comments
Hey, Scripting Guy! I need to be able to use a Windows PowerShell 2.0 script to change the resolution on my desktop monitor. Is this possible? -- AS Hello AS, Microsoft Scripting Guy Ed Wilson here, I have been looking for a script to change...
Page 1 of 2 (31 items)
1
2