ConvertFrom-String (opens in new tab) allows users to extract data from a text file using an example template, which annotates some examples for extracted fields.
“PowerShell v5 ConvertFrom-String query by example templates are brilliant”
Doug Finke, PowerShell MVP
“Did a presentation on Parsing data using #PowerShell today in front of ~50 engineers. They all loved ConvertFrom-String”
François-Xavier Cat, PowerShell MVP
Blog posts
- Using the ConvertFrom-String cmdlet to parse structured text (opens in new tab)
- PowerShell – Playing with the new ConvertFrom-String cmdlet (opens in new tab)
- First look at ConvertFrom-String in Powershell v5 (opens in new tab)
- Using the ‘Convertfrom-String’ command in PowerShell 5.0 (opens in new tab)
- Import Text by Examples (Power Query) (opens in new tab)
Videos
Tweets
#PowerShell (opens in new tab) #WMF5 (opens in new tab) – The ConvertFrom-String is pretty awsome! Esp. for those that doesn’t dream in RegEx;)
— Harald S. Fianbakken (@haraldsf) November 1, 2014 (opens in new tab)
PowerShell v5.0 – ConvertFrom-String Buddy http://t.co/kGfEVaTLpU (opens in new tab) via @dfinke (opens in new tab)
— Steven Murawski (@StevenMurawski) August 20, 2015 (opens in new tab)
Using the ConvertFrom-String cmdlet to parse structured text http://t.co/2SywbiPUZK (opens in new tab)
— PowerShell Magazine (@PowerShellMag) September 9, 2014 (opens in new tab)
.@adbertram (opens in new tab) For all the frustrations regexes cause, they are…– Powerful– Nearly universal– Documented in decades of examples and refs!
— Warren F. (@psCookieMonster) September 18, 2015 (opens in new tab)
PowerShell ConvertFrom-String: Serious Text wrangling by @dfinke (opens in new tab) https://t.co/xnwzxbgko2 (opens in new tab) via @DotNetKicks (opens in new tab)
— DotNetKicks (@dotnetkicks) October 19, 2015 (opens in new tab)
Subtle flex for @Lee_Holmes (opens in new tab) on MS devblogs site lol pic.x.com/lNGxdJT83G (opens in new tab)
— karttoon (@noottrak) February 20, 2020 (opens in new tab)
#Powershell (opens in new tab), how I love you… PS5.0 Convertfrom-String cmdlet parses arbitrary text into objects: http://t.co/xpX0OytEsK (opens in new tab)
— Chris Gerritz (@gerritzc) September 5, 2014 (opens in new tab)
PowerShell V5 now has ConvertFrom-String which uses “parsing by example” technology from MSR http://t.co/4nAkGUQuVS (opens in new tab) Have FUN with that!
— Jeffrey Snover (@jsnover) September 5, 2014 (opens in new tab)
Just realized ConvertFrom-String doesn’t even exist on #PowerShell (opens in new tab) v6. REGEX IT IS pic.x.com/rOCkqIT9gK (opens in new tab)
— Adam Driscoll (@adamdriscoll) October 12, 2018 (opens in new tab)