Browse by Tags

Tagged Content List
  • Blog Post: Sort Output Before Sending to PowerShell Out-GridView

    Summary : Learn how to sort data before you send it to the Windows PowerShell Out-GridView cmdlet. Microsoft Scripting Guy, Ed Wilson here. The weekend has finally arrived, following on the heels of a rather hectic week. I decided to download and install Service Pack 1 for Windows 7 and Windows Server...
  • Blog Post: Hey, Scripting Guy! How Can I Both Save Information in a File and Display It on the Screen?

    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, I want both. In other words, I want my candy...
  • Blog Post: Query AD for Computers and Use Ping to Determine Status

    Summary: Learn how to use Windows PowerShell to query Active Directory for computers, ping for status, and display in green/red. Microsoft Scripting Guy Ed Wilson here. While the Scripting Wife and I were out in California speaking to the Microsoft Premier Field Engineers (PFE) about Windows PowerShell...
  • Blog Post: Create Custom Objects in Your PowerShell Script

    Summary : Learn how to create custom objects in your Windows PowerShell script to maximize utility and reusability of your script. Microsoft Scripting Guy, Ed Wilson, is here. Today we have Steven Murawski as our guest blogger. Steven will tell us a little about himself then go on to talk about objects...
  • Blog Post: Weekend Scripter: Using Windows PowerShell to Make a Marquee

    Summary: Learn how to display output as moving text by using Windows PowerShell and easy to use techniques. Microsoft Scripting Guy Ed Wilson here. After a long, hot and oppressive summer, Fall has descended upon Charlotte, North Carolina in the United States. The wife (who also scripts) and I...
  • Blog Post: Hey, Scripting Guy! How Can I Simply Have Windows PowerShell Display Information on the Screen?

    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 stuff to Excel or Word or even PowerPoint....
  • Blog Post: Use PowerShell to Explore Disk Utilization on Your Computer

    Summary : Learn how to use Windows PowerShell to discover what files are using up all the disk space on your computer. Weekend Scripter Microsoft Scripting Guy, Ed Wilson, here. I do not know about you, but it seems as if there is a disk space-eating gremlin on my computer. One day I have several...
  • Blog Post: Create a Transcript of Commands from the Windows PowerShell ISE

    Summary : Create a transcript of commands from the Windows PowerShell ISE in this Microsoft Scripting Guys how-to article. Microsoft Scripting Guy Ed Wilson here. One of the things I enjoy about using the Windows PowerShell console is the transcript feature. When I am playing around on the Windows...
  • Blog Post: Use PowerShell to Pause a Script While Another Process Exits

    Summary: Learn how to use Windows PowerShell to pause a script and wait for another process to exit before continuing. Hey, Scripting Guy! I am attempting to use Windows PowerShell to shut down an application, but the application is rather complicated. I need to stop one process, and wait for...
  • Blog Post: PowerShell Above and Beyond the Minimum Requirements

    Summary : Two Microsoft Windows PowerShell experts get extreme with the standard Hello World script. Microsoft Scripting Guy, Ed Wilson, is here. Last month at the Charlotte PowerShell User Group meeting, we played around with some scenarios, and we had each of the attendees work through the tasks...
  • Blog Post: Scripting Wife Learns About Formatting PowerShell Output

    Summary : The Scripting Wife learns from the Microsoft Scripting Guy about formatting Windows PowerShell output with Format-List . It is a Monday morning much like any one of hundreds of previous Mondays. The celestial orb has yet to make an appearance today, but to be fair; I have not given it much...
  • Blog Post: Create a Custom Hyper-V Resource Metering Reset Report

    Summary: Microsoft Scripting Guy, Ed Wilson, shows you how to create a custom Hyper-V Resource Metering reset report by using Windows PowerShell 3.0. Microsoft Scripting Guy, Ed Wilson, is here. Well, I found a pretty cool Pandora app for my Windows RT Surface , and so I am listening to a cool Rolling...
  • Blog Post: Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (02/27/09)

    How Can I Tell if I’m Running a Script on the 32-Bit or the 64-Bit Version of Windows Vista? Hey, Scripting Guy! I need to be able to tell if the version of Windows Vista I am running a script on is 32 bit or 64 bit. I have tried looking at system variables, but it seems a bit complicated. I would...
  • Blog Post: Format PowerShell Output with an Easy-to-Use Table

    Summary : The Scripting Wife learns how to format Windows PowerShell output with the easy-to-use Format-Table cmdlet. Microsoft Scripting Guy, Ed Wilson, here. I wonder how you might describe the perfect day? For me, it consists of receiving feedback via the scripter@microsoft.com email alias or on...
  • Blog Post: Weekend Scripter: Tea Time!

    Microsoft Scripting Guy Ed Wilson here. It has been a great week with some excellent guest bloggers. It is not that I took the week off; rather, I have spent the week working on some special projects I wanted to complete. The great thing about working with guest bloggers is that I get to tap into world...
  • Blog Post: Weekend Scripter: The Scripting Wife Talks About the First Warm-Up Event in the Winter Scripting Games

    Summary: The Scripting Wife talks about the first event in the 2013 Winter Scripting Games warm-up events. Microsoft Scripting Guy, Ed Wilson, is here. Today, we have a special guest. You guessed it: The Scripting Wife is with us today. If you are reading the Hey, Scripting Guy! Blog for the first...
  • Blog Post: Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (7/10/09)

    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 both on my Windows Vista computer (64 bit, Service...
  • Blog Post: Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (02/20/09)

    How Do I Determine the Versions of Several Executable Files Not Registered in the Registry? Hey, Scripting Guy! I need your help. I need to know the version of several executable files not registered in the registry. I can find the version of a single executable by using the following code. Set...
  • Blog Post: Use PowerShell to Graph the Reliability of Windows 2008 R2

    Summary : Microsoft Scripting Guy Ed Wilson shows you how to use Group Policy to enable reliability tracing via Windows PowerShell and Microsoft Graph. Hey, Scripting Guy! First of all, let me say that yesterday’s article was interesting. We are also looking at attempting to determine...
  • Blog Post: Modify the PowerShell Console Title and Display a Rabbit

    Summary : Modify the Windows PowerShell console title and display a rabbit at random locations. The Microsoft Scripting Guys have fun. Microsoft Scripting Guy Ed Wilson here. I love Microsoft Outlook 2010. United States FTC disclaimer: The Microsoft Scripting Guys work for the Microsoft Corporation...
  • Blog Post: How Can I Format a Series of Numbers as a Phone Number?

    Hey, Scripting Guy! How can I format a series of numbers as a phone number in Windows PowerShell? -- HR Hey, HR. You know, formatting is all about making things look a little nicer and a little more presentable. That’s why the Scripting Guy who writes this column always finds it strange when people...
  • Blog Post: Scripting Wife Learns to Format Wide Output with PowerShell

    Summary : The Scripting Wife learns how to use the Format-Wide cmdlet in Windows PowerShell. I imagine winter has nearly departed Charlotte, North Carolina and that spring will arrive soon. Yesterday, besides being rather long, turned out to be gorgeous outside—at least so it appeared from the...
  • Blog Post: Use PowerShell to Retrieve a Weather Forecast

    Summary: Microsoft Scripting Guy Ed Wilson shows how to use Windows PowerShell to get a weather forecast from inside the Windows PowerShell ISE. Microsoft Scripting Guy Ed Wilson here. It is amazing how quickly things change on the Internet. A couple of years ago I found a website that hosted several...
  • Blog Post: Filter PowerShell Output with the Out-Gridview Cmdlet

    Summary : The Scripting Wife learns how to filter output by using the Windows PowerShell Out-Gridview cmdlet. I am happily anticipating this weekend in Seattle. I leave for Seattle tomorrow evening. I will be participating in a portion of the MVP summit. In addition, I will be teaching a Windows PowerShell...
  • Blog Post: Using PowerShell to Format a Report from XML Data

    Summary : Use Windows PowerShell to create a formatted report from data stored in XML files. Microsoft Scripting Guy Ed Wilson here. It is still dark outside, and the lights of the neighborhood are slowly beginning to come on. It is really humid this morning. I am sitting at the kitchen table with...