Sign in
TechNet Blogs
Technet Blog Images
More ...
Blog - Title
July, 2009
TechNet Blogs
>
Hey, Scripting Guy! Blog
>
July, 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
(55)
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 Do I Create a CSV File from Within Windows PowerShell?
Posted
over 4 years ago
by
ScriptingGuy1
2
Comments
Hey Scripting Guy! I am having a problem trying to create a CSV file from within Windows PowerShell. I thought at first I could use the Write-Host cmdlet to do this. I came up with this command: Write-Host "col1,col2,col3" >> "C:\fso\test.csv...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Simply Have Windows PowerShell Display Information on the Screen?
Posted
over 4 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I am not into all those fancy scripts you seem to write. I am just a basic, everyday network administrator, and I simply need to use scripts to make my job easier. Because of this, I am not interested in displaying progress bars, writing...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Do I Remove All Group Members in Active Directory?
Posted
over 4 years ago
by
ScriptingGuy1
1
Comments
Hey Scripting Guy! I have several groups created in Active Directory whose membership has changed dramatically. Rather than go through a long list of users and try to manually clean up the list, I would like to just delete all the users from the group...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Add a User to Multiple Groups?
Posted
over 4 years ago
by
ScriptingGuy1
1
Comments
Hey Scripting Guy! It seems that I can never find what I need anymore. I am looking for a Windows PowerShell script that will add a user to multiple groups. The user and the group are in the same organizational unit, and I do not want to have to run the...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Prompt Users for Information When a Script Is Run?
Posted
over 4 years ago
by
ScriptingGuy1
1
Comments
Hey, Scripting Guy! I would like to have my script prompt the user for information when it is run. But I would like the person running the script to be able to supply more than one piece of information when the script is run. For example, I would like...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (7/10/09)
Posted
over 4 years ago
by
ScriptingGuy1
0
Comments
Troubleshooting a Windows Powershell Script Hey Scripting Guy! I tried to use the script from the May 2009 TechNet Magazine article, Hey, Scripting Guy! Working with Access Databases in Windows PowerShell . But when I run it I get an error. This happens...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Create Organizational Units with Windows PowerShell?
Posted
over 4 years ago
by
ScriptingGuy1
0
Comments
( Note Today’s response is taken from Ed Wilson’s book, Windows PowerShell Step by Step , which is available on Microsoft Press.) Hey, Scripting Guy! At my company, we are often called upon to create objects in Active Directory. I do not mind...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Move a Group from One Organizational Unit to Another?
Posted
over 4 years ago
by
ScriptingGuy1
0
Comments
Hey Scripting Guy! I need to be able to move a group from one organizational unit to another. The problem is that our network has thousands of groups and organizational units. What I need is a way to easily find the group and the organizational unit....
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Speed Up My Windows PowerShell Scripts?
Posted
over 4 years ago
by
ScriptingGuy1
0
Comments
Hey Scripting Guy! I am not sure why you are so excited about Windows PowerShell. It is much slower than VBScript. I am not talking about a little slow; I am talking about orders of magnitude slower. Sure it has some nice cmdlets, but the performance...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (7/24/09)
Posted
over 4 years ago
by
ScriptingGuy1
0
Comments
Troubleshooting a VBScript Script That Reports All Software Installed on a Computer Hey Scripting Guy! I am pretty new to use VBScript and seem to have hit a wall. I put together the script below to output a file containing all the software...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Verify Input Received from the Command Line?
Posted
over 4 years ago
by
ScriptingGuy1
2
Comments
I am the script writer at my company, and I have really been enjoying your articles on Windows PowerShell. I have begun the process of converting some of our old VBScripts to Windows PowerShell, and all of my new scripts are written in Windows PowerShell...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (7/17/09)
Posted
over 4 years ago
by
ScriptingGuy1
0
Comments
How Can I Query a Registry Value Remotely? I have a simple question: What is the equivalent to querying the MicrosoftIE_Summary WMI class in Windows Vista? I just need to get the version of Internet Explorer. One small problem though: The Windows PowerShell...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Use Error Handling When a Script Requests User Input?
Posted
over 4 years ago
by
ScriptingGuy1
0
Comments
Hey Scripting Guy! I have a script that requests user input for a computer name before connecting to a remote computer to perform a WMI query. The problem is that when our help desk people use the script, they invariably type the wrong name of the remote...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (7/3/09)
Posted
over 4 years ago
by
ScriptingGuy1
0
Comments
How Can I List Files and Folders with Special Characters in Their Names? Hey, Scripting Guy! First I would like to thank you for all the good humour you present me every time I need you. I’m trying to use one of your scripts to list the files and...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Use a Named Parameter When Running Scripts?
Posted
over 4 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I would like to be able to use a named parameter when running my scripts. There are a couple of reasons for this. The first is that I think that it looks cool to use a named parameter. The second reason is probably just as important...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Do I Get Data Out of a Function?
Posted
over 4 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I have been having problems with trying to understand functions in Windows PowerShell. I get that you use the Function keyword to create the function, but I do not know how to get information from the function back to the script. I...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Ensure That Users Submit Only Allowed Values for Script Parameters?
Posted
over 4 years ago
by
ScriptingGuy1
0
Comments
I have a script that I wrote for the help desk people. It is actually a pretty cool script because it lets the user of the script type in a WMI class name, and it connects to the remote computer and retrieves all the information from the particular WMI...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Both Save Information in a File and Display It on the Screen?
Posted
over 4 years ago
by
ScriptingGuy1
1
Comments
Hey, Scripting Guy! You know the old commercial that goes, "Sometimes you feel like a nut, sometimes you don't"? Well, sometimes I want to save information from a script to a file, and sometimes I want to see it displayed to the screen. And at other times...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Handle Errors in a Windows PowerShell Script?
Posted
over 4 years ago
by
ScriptingGuy1
0
Comments
Hey Scripting Guy! When I used to write VBScripts, I liked the fact that I could use On Error Resume Next to handle any errors in my scripts. I have tried to find something like this in Windows PowerShell, but I have been unable to do so. Does Windows...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (7/31/09)
Posted
over 4 years ago
by
ScriptingGuy1
1
Comments
How Can I Migrate AutoText When I Upgrade from One Version of Microsoft Office to Another? Hey, Scripting Guy! We are in the process of converting from Office 2003 to Office 2007. Many people use AutoText and I am trying to automate the process...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Test a Script I Have Written?
Posted
over 4 years ago
by
ScriptingGuy1
0
Comments
Hey Scripting Guy! I have a question today that is not about writing a script so much as it is about testing the script after it is written. I know you have written the scripts for the Windows 7 Resource Kit , the Windows Server 2008 Resource Kit , and...
Hey, Scripting Guy! Blog
Script Center 101: Our first Zunecast!
Posted
over 4 years ago
by
ScriptingGuy1
0
Comments
Script Center 101 (link takes you to the Microsoft Download Center) Scripting Guy Ed Wilson takes you on a guided tour of the new Script Center Web site, which was launched on June 11, 2009. Excuse our dust as we continue to improve the new site. ...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Test a Bunch of Scripts and Generate a Report?
Posted
over 4 years ago
by
ScriptingGuy1
0
Comments
Hey Scripting Guy! At our company, we have a lot of Windows PowerShell scripts we use to gather information from various client computers distributed throughout the network. All of these scripts are in a single folder. Recently, several users have been...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Test the Efficacy of My Script Modifications?
Posted
over 4 years ago
by
ScriptingGuy1
0
Comments
Hey Scripting Guy! I have a script that I wrote, and I am interested in modifying it to try and make it run faster. I know I can use the Measure-Object Windows PowerShell cmdlet, but I want to run the script several times and get the average time it takes...
Page 1 of 1 (24 items)