Browse by Tags

Tagged Content List
  • Blog Post: PowerShell Mini-Scripting Games 2014: Answer 3

    Summary : Here is the answer to Problem 3 in Windows PowerShell Mini-Scripting Games 2014. Microsoft Scripting Guy, Ed Wilson, is here. Today it is time to look at Problem 3. Last week, I posted the complete Problem 3 description and task outline . Problem 3 synopsis One of your teammates wrote...
  • Blog Post: 2014 Winter PowerShell Scripting Games Wrap Up #6

    Summary : Microsoft Scripting Guy, Ed Wilson, wraps up the 2014 Winter Scripting Games and talks about parameter validation. Weekend Scripter: Parameter Validation Microsoft Scripting Guy, Ed Wilson, is here. Today, I'm playing with my new Surface Pro 2 device. It came with a year of free Skype...
  • Blog Post: 2014 Winter PowerShell Scripting Games Wrap Up #5

    Summary : Microsoft Scripting guy, Ed Wilson, talks about using the Windows PowerShell Switch statement to clean up script in a wrap up of the 2014 Winter Scripting Games. Microsoft Scripting Guy, Ed Wilson, is here. The Scripting Wife and I have been busy planning our trip to Houston for the 2014...
  • Blog Post: 2014 Winter PowerShell Scripting Games Wrap Up #4

    Summary : Microsoft Scripting Guy, Ed Wilson, continues his Scripting Games 2014 wrap up with a discussion of error and verbose message streams. Microsoft Scripting Guy, Ed Wilson, is here. Things are starting to settle down here in the scripting household. Windows PowerShell Saturday #007 was a rousing...
  • Blog Post: 2014 Winter PowerShell Scripting Games Wrap Up #3

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using standard folders in his review of the 2014 Winter Windows PowerShell Scripting Games. Microsoft Scripting Guy, Ed Wilson, is here. It is beginning to look like spring here in Charlotte, North Carolina. This is a welcome relief, because...
  • Blog Post: 2014 Winter PowerShell Scripting Games Wrap Up #1

    Summary : Microsoft Scripting Guy, Ed Wilson, shares what he noticed while grading the 2014 Winter PowerShell Scripting Games entries. Microsoft Scripting Guy, Ed Wilson, is here. So the 2014 Winter PowerShell Scripting Games are over. One of the cool things about this year’s Winter Games...
  • Blog Post: Learn About Two CodePlex Projects: PS2EXE and RoboPowerCopy

    Summary : Get the inside scoop on two awesome CodePlex projects: PS2EXE and RoboPowerCopy. Microsoft Scripting Guy Ed Wilson here. Today, we have a debut guest blogger. With us is Ingo Karstein to tell us about two of his CodePlex projects. Take it away, Ingo. This is Ingo Karstein writing...
  • Blog Post: Beat the Auditors, Be One Step Ahead with PowerShell

    Summary : Microsoft PFE, Georges Maheu, opens his security assessment toolbox to discuss a Windows PowerShell script he uses to look at Windows services. Microsoft Scripting Guy, Ed Wilson, is here. Our guest blogger today is Georges Maheu . Georges is one of my best friends, and I had a chance to...
  • Blog Post: Check for Admin Credentials in a PowerShell Script

    Summary : Learn how to check for administrative credentials when you run a Windows PowerShell script or command. Microsoft Scripting Guy, Ed Wilson, is here. Boe Prox is our guest blogger today. Boe Prox is currently a senior systems administrator with BAE Systems. He has been in the IT industry...
  • Blog Post: Use the KISS Principle for Your PowerShell Script

    Summary : Microsoft Windows PowerShell MVP, Sean Kearney, teaches how to use the KISS principle for your Windows PowerShell script. Weekend Scripter Microsoft Scripting Guy, Ed Wilson, here. Sean Kearney graces us with his words of wisdom today as our guest blogger. Sean Kearney is an...
  • Blog Post: Speed Up Excel Automation with PowerShell

    Summary : Microsoft PFE, Georges Maheu, optimizes the Windows PowerShell script he presented yesterday. Microsoft Scripting Guy, Ed Wilson, is here. Our guest blogger today is Georges Maheu. Georges presented a script yesterday to gather Windows services information in an Excel spreadsheet. Although...
  • Blog Post: Use the PowerShell Select-String Cmdlet to Parse WMI Output

    Summary : Learn how to use the Windows PowerShell Select-String cmdlet to easily parse WMI output. Hey, Scripting Guy! I have a quick question: is it possible to parse the output of some of the WMI commands? I know they return objects, but some of the commands return sooooo much data. I would like...
  • Blog Post: Naming and Designing Advanced PowerShell Functions

    Summary : Microsoft Scripting Guy Ed Wilson discusses naming and designing advanced Windows PowerShell functions in relation to his Local User Management Module. Microsoft Scripting Guy Ed Wilson here. The cool thing about today is that it is Canada Day . This means that my boss back in Redmond is...
  • Blog Post: Don't Write Scripts, Write PowerShell Functions

    Summary : There are times when piling Windows PowerShell cmdlets together becomes a bit cumbersome, so instead of writing a script, consider functions. Weekend Scripter Microsoft Scripting Guy, Ed Wilson, is here. There are times, when I want to do things that are a bit more complicated than piecing...
  • Blog Post: Simplify Your Script by Creating PowerShell Type Accelerators

    Summary : Microsoft Scripting Guy, Ed Wilson, shows how easy it is to create custom Windows PowerShell type accelerators and incorporate them into scripts. Microsoft Scripting Guy, Ed Wilson, is here. Windows PowerShell is cool. In fact, it should come with a disclaimer something like this: Warning...
  • Blog Post: Use PowerShell to Make Mandatory Parameters

    Summary : Learn how to use Windows PowerShell to create mandatory parameters. Weekend Scripter Microsoft Scripting Guy, Ed Wilson, is here. I will admit that yesterday I talked about the easiest default to handle—the case of defaulting to the local computer. Not everything is so easy, nor...
  • Blog Post: Use PowerShell Environmental Variables to Store Temporary Information

    Summary : Use the Windows PowerShell environmental drive to store temporary information, and still use the Set-StrictMode cmdlet. Microsoft Scripting Guy, Ed Wilson, is here. It is exactly 11 days until the 2012 Scripting Games commence. Here is how I found out that salient piece of information. ...
  • Blog Post: Best Practice for Using Aliases in PowerShell Scripts

    Summary : Microsoft Scripting Guy, Ed Wilson, discusses the use of aliases in Windows PowerShell scripts. He covers the pros and cons in this blog. Weekend Scripter Microsoft Scripting Guy, Ed Wilson, is here. “You can have my aliases when you pry my cold dead fingers from my keyboard,”...
  • Blog Post: Hey, Scripting Guy! How Can I Create a GUID Using Windows PowerShell?

    Hey, Scripting Guy! I see that it is pretty easy to generate a GUID using Windows Script Host . But how can I do this using Windows PowerShell? -- DL Hey, DL. Before we begin we’d like to announce that the Scripting Guys are looking for 158 volunteers, volunteers to undertake a daring mission...
  • Blog Post: Design Your PowerShell Functions to Be Reusable

    Summary : Learn how to write Windows PowerShell functions that are reusable so that you increase your productivity. Microsoft Scripting Guy, Ed Wilson, here. Our guest blogger today is Andy Schneider. Andy Schneider is a systems engineer at Avanade , a company that was started in 2000 to merge...
  • Blog Post: Reusing PowerShell Code—What is Best?

    Summary : In this Weekend Scripter blog, Microsoft Scripting Guy, Ed Wilson, discusses considerations for code reuse. Weekend Scripter Microsoft Scripting Guy, Ed Wilson, is here. It has been really fun these past few weeks reviewing all of the scripts that were submitted for the 2011 Scripting...
  • Blog Post: Use PowerShell to Copy Files to a Shared Drive

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to copy a script collection to a shared network drive. Microsoft Scripting Guy, Ed Wilson, is here. Well, it is Monday in Charlotte, North Carolina, in the United States. Today is a cardio day. I spend the day running...
  • Blog Post: Lessons Learned While Writing the PowerShell PoshPAIG Module

    Summary : Guest Blogger Boe Prox shares lessons learned while writing the Windows PowerShell PoshPAIG module. Microsoft Scripting Guy Ed Wilson here. Today, we have part two of Boe Prox’s article about his module to audit and update Windows systems. See yesterday's blog post for information...
  • Blog Post: Don’t Write PowerShell Scripts

    Summary : Microsoft Scripting Guy Ed Wilson talks about when to not write a Windows PowerShell script. Weekend Scripter Microsoft Scripting Guy, Ed Wilson, is here. Network administrators do not script! ITPros do not like to script! I have heard statements like this for years. Yet, when I first...
  • Blog Post: Learn How to Use Description Attributes in PowerShell Functions

    Summary : Microsoft Scripting Guy, Ed Wilson, teaches you how to use description attributes to enable a quick retrieval of Windows PowerShell functions. Weekend Scripter Microsoft Scripting Guy, Ed Wilson, is here. Well, the 2011 Scripting Games are nearly completely over. “What?” you...