ConvertFrom-String 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
- PowerShell – Playing with the new ConvertFrom-String cmdlet
- First look at ConvertFrom-String in Powershell v5
- Using the ‘Convertfrom-String’ command in PowerShell 5.0
- Import Text by Examples (Power Query)
Videos
Tweets
#PowerShell #WMF5 – The ConvertFrom-String is pretty awsome! Esp. for those that doesn’t dream in RegEx;)
— Harald S. Fianbakken (@haraldsf) November 1, 2014
PowerShell v5.0 – ConvertFrom-String Buddy http://t.co/kGfEVaTLpU via @dfinke
— Steven Murawski (@StevenMurawski) August 20, 2015
Using the ConvertFrom-String cmdlet to parse structured text http://t.co/2SywbiPUZK
— PowerShell Magazine (@PowerShellMag) September 9, 2014
.@adbertram For all the frustrations regexes cause, they are…– Powerful– Nearly universal– Documented in decades of examples and refs!
— Warren F. (@psCookieMonster) September 18, 2015
PowerShell ConvertFrom-String: Serious Text wrangling by @dfinke https://t.co/xnwzxbgko2 via @DotNetKicks
— DotNetKicks (@dotnetkicks) October 19, 2015
Subtle flex for @Lee_Holmes on MS devblogs site lol pic.x.com/lNGxdJT83G
— karttoon (@noottrak) February 20, 2020
#Powershell, how I love you… PS5.0 Convertfrom-String cmdlet parses arbitrary text into objects: http://t.co/xpX0OytEsK
— Chris Gerritz (@gerritzc) September 5, 2014
PowerShell V5 now has ConvertFrom-String which uses «parsing by example» technology from MSR http://t.co/4nAkGUQuVS Have FUN with that!
— Jeffrey Snover (@jsnover) September 5, 2014
Just realized ConvertFrom-String doesn’t even exist on #PowerShell v6. REGEX IT IS pic.x.com/rOCkqIT9gK
— Adam Driscoll (@adamdriscoll) October 12, 2018