PS C:> 'abcabc' -match 'ab'TruePS C:> $Matches...
-Match and $Matches
read more
PS C:> 'abcabc' -match 'ab'TruePS C:> $Matches...
In the topic "What's New in Windows PowerShell 3.0"(http://technet.microsoft.com/en-us/library/hh857339.aspx#BKMK_API), I found...