Browse by Tags

Tagged Content List
  • Blog Post: Handling Errors the PowerShell Way

    Summary : Trevor Sullivan talks about handling errors in Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. Today we have guest blogger and Windows PowerShell MVP, Trevor Sullivan ... also find Trevor on Twitter ( https://twitter.com/pcgeek86 ) and his blog ( http://trevorsullivan.net...
  • Blog Post: Getting to Know ForEach and ForEach-Object

    Summary : Learn the differences between ForEach and ForEach-Object in Windows PowerShell. Honorary Scripting Guy and Windows PowerShell MVP, Boe Prox , here today filling in for my good friend, The Scripting Guy. Today I am going to talk about some differences between using ForEach and using ForEach...
  • Blog Post: Back to the Basics Part 2: Learn about the Pipeline and "Getters"

    Summary : Microsoft PFE, Gary Siepser, talks about the basics of using the Windows PowerShell pipeline and "getters." Microsoft Scripting Guy, Ed Wilson, is here. This week, Gary Siepser, a Microsoft PFE is our guest blogger. Yesterday, we posted the first part of his series: Back to the...
  • Blog Post: Weekend Scripter: Introducing Script Browser and Script Analyzer

    Summary : Scott Ge and Bill Grauer share new Windows PowerShell resources: Script Browser and Script Analyzer. Microsoft Scripting Guy, Ed Wilson, is here. Today we have a guest blog from Scott Ge and Bill Grauer from Microsoft Customer Service and Support. Take it away Scott and Bill… To...
  • Blog Post: PowerShell Looping: The Continue Statement

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using the Continue statement in looping. Microsoft Scripting Guy, Ed Wilson, is here. Dude, dude, dude (or dudette). TechEd 2014 is nearly here. Tomorrow the Scripting Wife and I jump onto a big old hairy plane and head to Houston, Texas for...
  • Blog Post: PowerShell Looping: Advanced Break

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about additional uses for the Break statement in looping. Microsoft Scripting Guy, Ed Wilson, is here. This morning, it is cool and the sun is barely up. I am sipping a cup of English Breakfast tea with a spoonful of spearmint and peppermint leaves...
  • Blog Post: PowerShell Looping: Basics of the Break

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about the basics of using the Break statement in a Windows PowerShell loop. Microsoft Scripting Guy, Ed Wilson, is here. Hmmm, it seems that the Scripting Wife and I just returned from the Windows PowerShell Summit, and yet in four days, we are leaving...
  • Blog Post: PowerShell Looping: Understanding and Using Do…Until

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about understanding and using the Do…Until loop. Microsoft Scripting Guy, Ed Wilson, is here. The Scripting Wife and I are busy getting ready for TechEd 2014 North America, which will be in Houston, Texas this year. It kicks off this Sunday...
  • Blog Post: PowerShell Looping: Understanding and Using Do...While

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using the Do…While statement in Windows PowerShell scripts. Microsoft Scripting Guy, Ed Wilson, is here. Last week, the Scripting Wife and I were at the Windows PowerShell Summit in Bellevue, Washington. It was an awesome week. We got...
  • Blog Post: PowerShell Looping: The Automatic Foreach

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about Windows PowerShell and the automatic Foreach feature. Microsoft Scripting Guy, Ed Wilson, is here. One of my favorite features in Windows PowerShell (since Windows PowerShell 3.0) is what I call the automatic Foreach . Basically, it means that...
  • Blog Post: PowerShell Looping: Using While

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about Windows PowerShell looping and looks at using the While statement. Microsoft Scripting Guy, Ed Wilson, is here. One of the things that I see with people coming to Windows PowerShell from VBScript or some other language, is that they seem to...
  • Blog Post: PowerShell Looping: Using the Foreach-Object Cmdlet

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using the Foreach-Object cmdlet in Part 2 of the Looping Week series. Microsoft Scripting Guy, Ed Wilson, is here. Today I want to address a major point of confusion for newbie Windows PowerShell scripters. That point is the Foreach-Object...
  • Blog Post: Basics of PowerShell Looping: Foreach

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using the Windows PowerShell Foreach statement to loop through a collection. Microsoft Scripting Guy, Ed Wilson, is here. When the Scripting Wife and I were in Amsterdam, Windows PowerShell MVP, Jeff Wouters, told me that a lot of people he...
  • Blog Post: Weekend Scripter: Exploring PowerShell Modules

    Summary : Use Windows PowerShell to explore Windows PowerShell modules. Microsoft Scripting Guy, Ed Wilson, is here. One of the things I really, really, really like about Windows PowerShell is the fact that it is self-discoverable. I mean, I can use Windows PowerShell to explore Windows PowerShell...
  • Blog Post: Use PowerShell to Create CSV File to Open in Excel

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about exporting a directory list to a CSV file and opening the file in Microsoft Excel with Windows PowerShell. Hey, Scripting Guy! I have a lot of music files that reside in nested folders. I would like to be able to look at the file information...
  • Blog Post: Comparing PowerShell PSSessions and CIM Sessions

    Summary : Guest blogger, Trevor Sullivan, compares Windows PowerShell PSSessions and CIM sessions. Microsoft Scripting Guy, Ed Wilson, is here. Today we have the exciting conclusion to Honorary Scripting Guy , Trevor Sullivan’s guest blog series on CIM. To see more of Trevor’s guest posts...
  • Blog Post: Invoking CIM Methods with PowerShell

    Summary : Guest blogger, Trevor Sullivan, talks about invoking CIM methods via Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. Today we have another guest post from Trevor Sullivan. Trevor is an Honorary Scripting Guy , and a recognized Microsoft Community Contributor (MCC). To see...
  • Blog Post: Introduction to the CIMCmdlets PowerShell Module

    Summary : Guest blogger, Trevor Sullivan, talks about using the CIM module in Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. Today we have a guest post from Trevor Sullivan. Trevor is an Honorary Scripting Guy , and a recognized Microsoft Community Contributor (MCC). To see more...
  • Blog Post: What is CIM and Why Should I Use It in PowerShell?

    Summary : Honorary Scripting Guy and guest blogger, Trevor Sullivan, explores CIM and using it with Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. Today we have a guest post from Trevor Sullivan. Trevor is an Honorary Scripting Guy and a recognized Microsoft Community Contributor...
  • Blog Post: Hey, Scripting Guy! Weekend Scripter: Using Functions to Convert Weight Measurements (Part 1)

    Microsoft Scripting Guy Ed Wilson here. If you have been following us on Twitter, you know that I have been out for nearly a week due to ear surgery. While I have been recuperating, I have had a lot of time to think about the module we started last Saturday , and that we continued last Sunday . The Scripting...
  • Blog Post: Use PowerShell to Translate a User’s SID to an Active Directory Account Name

    Summary : Microsoft Scripting Guy Ed Wilson shows how to use Windows PowerShell to translate a user's SID to an Active Directory Domain Services account name. Hey, Scripting Guy! It seems that whenever I search for Windows PowerShell scripts to translate a user name into a SID, all I can find is...
  • Blog Post: A PowerShell Object Lesson: Part 2

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about the importance of returning objects to ease administrative work. Microsoft Scripting Guy, Ed Wilson, is here. This afternoon I am sipping a magnificent cup of Oolong green tea. I added a spoonful of jasmine buds to my teapot, in addition to...
  • Blog Post: The Function of PowerShell Functions

    Summary: In this how to article, Microsoft Scripting Guy Ed Wilson discusses design considerations for Windows PowerShell functions. Hey, Scripting Guy! I am trying to decide how to configure my Windows PowerShell function. I have heard that functions should return objects, but I am thinking that...
  • Blog Post: Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (01/16/09)

    How Do I Set Process Affinity? Hey, Scripting Guy! I have this application that I would like to set process affinity for. I know I can use Task Manager, right-click the process, and choose to set affinity, but I would like to be able to do this from a script. Can this be done? I asked a newsgroup...
  • Blog Post: Masking Passwords in Windows PowerShell

    Summary : With Windows PowerShell cmdlets, it is easy to mask passwords used when scripting remote applications. Hey, Scripting Guy! I need to be able to mask a password when running a Windows PowerShell script. I am attempting to convert my VBScript scripts to Windows PowerShell, but I have a...