Browse by Tags

Tagged Content List
  • Blog Post: Trim Your Strings with PowerShell

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to trim strings and clean up data. Microsoft Scripting Guy, Ed Wilson, is here. The Scripting Wife heads out today to spend time with her other passion at the Blue Ridge Classic Horse Show . Unfortunately, I will not...
  • Blog Post: Using the Split Method in PowerShell

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using the Split method in Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. Dude, dude, dude, (or dudette, as the case may be) I still cannot find my teapot after our move. At least I found my kettle to heat water so I can make...
  • Blog Post: Join Me in a Few String Methods Using PowerShell

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using the String class of the Join method in Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. This morning while I was eating breakfast and reviewing my email on my Surface 2 Pro, I noticed that I have meetings all afternoon...
  • Blog Post: Keep Your Hands Clean: Use PowerShell to Glue Strings Together

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about several approaches for concatenating strings by using Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. This weekend, I was speaking about blogging and technical writing at the South Carolina Writers Workshop in Rock Hill, South...
  • Blog Post: PowerShell String Theory

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to work with strings. Microsoft Scripting Guy, Ed Wilson, is here. This has been an exciting week around the Scripting Household. From our lanai, we can see several little rabbits hopping around—they seem to like...
  • 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: Using Try, Catch, Finally Blocks for PowerShell Error Handling

    Summary : Microsoft PFE, Ashley McGlone, talks about using Try, Catch, Finally blocks for error handling in Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. Today’s guest blogger is Ashley McGlone, a Microsoft premier field engineer. Ashley is a popular speaker at our Windows...
  • Blog Post: Weekend Scripter: Exploring Powershell Profiles

    Summary : Microsoft Scripting Guy, Ed Wilson, explores Windows PowerShell profiles and locations. Microsoft Scripting Guy, Ed Wilson, is here. One of the cool things about the weekend is that it provides two entire days with no meetings, no specific obligations, and it gives me time to think and reflect...
  • Blog Post: An End of Week Treat: Mini-Scripting Games

    Summary : Windows PowerShell MVP, Jim Christopher, shares a mini-Scripting Games event from the Charlotte Windows PowerShell User Group. Microsoft Scripting Guy, Ed Wilson, is here. Welcome today, guest blogger, Jim Christopher . Jim is a Windows PowerShell MVP and the leader of the Charlotte Windows...
  • Blog Post: PowerTip: Convert to Upper Case with PowerShell

    Summary : Learn how to use Windows PowerShell to easily capitalize a string. How can I use Window PowerShell to make all the text upper case so it is all in the same form prior to writing to a database? Use the ToUpper method from the String class: "string".ToUpper()
  • Blog Post: A Better PowerShell Console with Custom PSReadLine Functions

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about a better Windows PowerShell console experience by using custom PSReadLine functions. Microsoft Scripting Guy, Ed Wilson, is here. I was reading an interesting article the other day. The author was talking about movies and history. The author...
  • Blog Post: PowerTip: Determine PSReadLine Option Configuration

    Summary : Use a cmdlet to find the way PSReadLine options are configured. I recently started using PSReadLine, and I would like to see the way options are configured. How can I report the options settings? Use the Get-PSReadLineOption cmdlet.
  • Blog Post: Useful Shortcuts from PSReadLine PowerShell Module

    Summary : Microsoft Scripting Guy Ed Wilson talks about useful shortcuts from the PSReadLine Windows PowerShell module. Microsoft Scripting Guy, Ed Wilson, is here. This is PSReadLine Week. You might also be interested in reading the following posts: The Search for a Better PowerShell Console...
  • Blog Post: Better PowerShell History Management with PSReadLine

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using PSReadLine to gain better history support in Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. Someone might have said that those PowerShellers who do not learn how to use command history are doomed to retype the same commands...
  • Blog Post: A Better PowerShell Command-Line Edit

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using PSReadLine to improve command-line editing in Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. Today I thought I would try something a bit different. It is hard to show command-line editing with screenshots and tables...
  • Blog Post: The Search for a Better PowerShell Console Experience

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about the search for a better Windows PowerShell console experience. Microsoft Scripting Guy, Ed Wilson, is here. This morning I am sipping a cup of English Breakfast tea. I added bits of spearmint, peppermint, and licorice root, along with a cinnamon...
  • Blog Post: Weekend Scripter: Use PowerShell to Explore Dates

    Summary : Microsoft Scripting Guy, Ed Wilson, shows how to use Windows PowerShell to explore dates in the future. Microsoft Scripting Guy, Ed Wilson, is here. This afternoon, I am sipping a nice cup of Kwai Flower Organic Oolong tea. It is a slightly sweet, mild tea that goes well with jasmine blossoms...
  • Blog Post: Calling XMLDocument Methods in PowerShell

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about calling XMLDocument methods in Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. Today is Friday the 13 th . Cool. Luckily, I do not have to go anywhere tonight around midnight, by the light of a full moon. But I am going to...
  • Blog Post: Calling XML Document Properties from Within PowerShell

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about calling XML document properties from within Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. Craig Liebendorfer is back. No, he is not working on the Hey, Scripting Guy! Blog, but he is working on the Script Center as a whole...
  • Blog Post: Using PowerShell to Explore Structure of an XML Document

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to explore the structure of an XML document. Microsoft Scripting Guy, Ed Wilson, is here. I don’t know about you, but when I decide to script, I often do a cost/benefit analysis. I am not talking about anything...
  • Blog Post: Exploring XML Document by Using the [XML] Type Accelerator

    Summary : Learn how to use the [XML] type accelerator to explore XML documents. Microsoft Scripting Guy, Ed Wilson, is here. The Scripting Wife bought me a pound of English Breakfast tea that she found online somewhere. It is long leaf, robust, and has a hint of earth tones in the bouquet. It makes...
  • Blog Post: Creating an XML Document for Admins

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about creating XML files. Microsoft Scripting Guy, Ed Wilson, is here. I will be the first to admit that I am not a huge fan of XML. I mean, if I can use a CSV file to store and retrieve the information I need, why do I need XML? Well, there are...
  • Blog Post: Understanding XML and XPath

    Summary : Microsoft Scripting Guy, Ed Wilson, explores XML and XPath . Microsoft Scripting Guy, Ed Wilson, is here. One of the things that confused me for a long time about using the Get-WinEvent cmdlet is the difference between the –FilterXPath parameter and the –FilterXml parameters...