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)
April, 2009
TechNet Blogs
>
Hey, Scripting Guy! Blog
>
April, 2009
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Hey, Scripting Guy! Blog
Hey, Scripting Guy! More About Looping with Windows PowerShell
Posted
over 3 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I am trying to get ready for the Summer Scripting Games. I understand they are coming up fairly soon. So I am thinking I want to compete in the beginner division this year for Windows PowerShell. I am trying to get my head around looping...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Use the Do…While…Loop in Windows PowerShell?
Posted
over 3 years ago
by
ScriptingGuy1
4
Comments
Hey, Scripting Guy! I frequently work with arrays in my scripts. The way I write scripts, I end up using Do…While…Loop frequently. I know that you like using the For…Each…Next for arrays, but to me Do…While…Loop seemed easier and more flexible. I looked...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Use the Windows PowerShell Equivalent of the VBScript While…Wend Loop?
Posted
over 3 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I have been using VBScript for a long time. One of my favorite language statements in VBScript is the While…Wend loop. It is easy to use and easy to understand. Is there an equivalent command in Windows PowerShell? - HS Hi HS, ...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Write and Run a Windows PowerShell Script?
Posted
over 3 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I appreciate the command-line stuff you are showing, but to be honest, I am not interested in returning to the DOS days to administer my network. I am not a UNIX administrator-I am a Windows guy. If I wanted to do UNIX kinds of things...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (04/24/09)
Posted
over 3 years ago
by
ScriptingGuy1
1
Comments
In This Post How Can I Script the Download of Large Binary Files? How Do I Take Ownership of a File? How Do I Get the Time on a Computer? How Do I Increment a Number and Retain Its Format? How Can I Get...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Work with Directories, Files, and Folders by Using Windows PowerShell?
Posted
over 3 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! This may not sound too exciting, but I do a lot of work with files and folders. I constantly have to create folders and files, move files, and move folders. This was easy to do by using VBScript, but nevertheless it always required...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Identify and Delete an Instance of a Process?
Posted
over 3 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I want to do a query for a process, and if the process is running, I want to delete that process. I know I could write a script by using WMI, but is there something native to Windows PowerShell that I can use to find and to delete...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! Windows PowerShell and Pipelining
Posted
over 3 years ago
by
ScriptingGuy1
1
Comments
Hey, Scripting Guy! I have seen you refer to this term pipeline many times since you started writing Windows PowerShell articles. What is up with that? Why don't you just store things in a variable and then walk through the contents of the variable when...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! Windows Powershell: An Introduction
Posted
over 3 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! Your Windows PowerShell articles have been real interesting, and I have been fascinated by the things you can do. But I need you to start at the beginning. It all looks real confusing to me. How about it? - TD Hi TD, You know things...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (04/17/09)
Posted
over 3 years ago
by
ScriptingGuy1
0
Comments
Troubleshooting a VBScript Hey, Scripting Guy! Maybe you can help me out. I have been using a script to schedule tasks to execute VBScripts on remote machines within my domain at work. I usually use this to send messages to specific users or to...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Parse My Firewall Log File to See What Kind of Packets Are Being Sent?
Posted
over 3 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I would like to parse the firewall log on my computer and find out the kinds of packets that are going out. You know, how many Web page packets, how many DNS lookups, how many pings. That kind of stuff. I figure that I can look at...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I See Which Packets Are Being Dropped by Windows Firewall?
Posted
over 3 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I love the Windows Firewall. I think it is really cool. The fact that it is a low-maintenance tool is sweet, but every once in a while, I would like to look over the log files and see what is going on. In particularly, I want to know...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Convert a Tab-Delimited File to a Comma-Separated Value File?
Posted
over 3 years ago
by
ScriptingGuy1
1
Comments
Hey, Scripting Guy! I have this tab-delimited file that was produced by a report from an old database application. All it knows how to do is make a tab-delimited file. I hate this format, and our other applications do too. I have been opening the thing...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Create a Phone Directory from Files with Varying Text Formats?
Posted
over 3 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I have a folder full of text files that have user contact information. I think these files were produced by an old database backup. I have to create a phone directory from these files; I thought about trying to read each file and copy...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (04/10/09)
Posted
over 3 years ago
by
ScriptingGuy1
0
Comments
Troubleshooting a Script for Setting “Managed By” and “Managers Can Update Members List” Fields Hey, Scripting Guy! I have been working for a few weeks on creating a Windows PowerShell script for setting the "Managed By" field and the "Managers...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Check My Event Logs to See Why My Computer Isn't Performing Well?
Posted
over 3 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I am trying to chase down a problem I have on my computer. Every so often, it just quits responding. I think it may be trying to talk to Elvis or commune with E.T. Perhaps if I point my finger and say, "E.T. gone home" in a raspy drone...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Check the Size of My Event Log and Then Backup and Archive It If It Is More Than Half Full?
Posted
over 3 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! We have recently enabled additional security auditing on our network, and I do not want to increase the size of those logs due to the fact that they are already huge. I do not want to turn on circular logging because I need to keep...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Query Event Logs to Discover Active Directory Information?
Posted
over 3 years ago
by
ScriptingGuy1
2
Comments
Hey, Scripting Guy! We have this problem at work. I keep finding groups in Active Directory, and I do not know why they were created or by whom. I am wondering if there is some way to search Active Directory to see who created a group. Is there an owner...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Check My Event Logs?
Posted
over 3 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! When I received my Microsoft Certified Systems Engineer (MCSE) certification several years ago, I remember the instructor jumping up and down and telling us that we were not doing our job if we do not check the event logs on a daily...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (04/03/09)
Posted
over 3 years ago
by
ScriptingGuy1
0
Comments
Troubleshooting the Application of Two WMI Classes Hey, Scripting Guy! The examples produced from the "Scriptomatic Version 2.0 by The Microsoft Scripting Guys" for the entries Win32_ServiceSpecification and Win32_ServiceControl both return error...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Run a Script When My Computer Is Idle?
Posted
over 3 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I need to be able to run a script when my computer is idle. But only when it is idle. I have looked in WMI and everywhere else and cannot find anything that will detect when the computer is idle. Can you tell me how to do it? - NM...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Best Work with Task Scheduler?
Posted
over 3 years ago
by
ScriptingGuy1
3
Comments
Hey, Scripting Guy! We are really looking at reducing our IT costs as a group and as a result are seeking out anything that is already built into the operating system that will allow us to automate things. Our company recently had some cutbacks and we...
Page 1 of 1 (22 items)