Sign in
TechNet Blogs
Technet Blog Images
More ...
Blog - Title
April, 2009
TechNet Blogs
>
Hey, Scripting Guy! Blog
>
April, 2009
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
(52)
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! More About Looping with Windows PowerShell
Posted
over 4 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 4 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 4 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 4 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 4 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 4 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 4 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 4 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 4 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 4 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 4 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 4 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 4 years ago
by
ScriptingGuy1
3
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 4 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 4 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 4 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 4 years ago
by
ScriptingGuy1
3
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 4 years ago
by
ScriptingGuy1
3
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 4 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 4 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 4 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 4 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)