Extracting a specific value from command-line output using powershell
- by Andrew Shepherd
I've just started learning PowerShell this morning, and I'm grappling with the basics.
Here's the problem: I want to query subversion for the revision number of a repository, and then create a new directory with this revision number.
The command svn_info outputs a number of label\value pairs, delimited by colons. For example
Path: c#
URL:…