title: PowerShell -match vs -like
body: <p>Reading <a href="https://technet.microsoft.com/en-us/library/hh847759.aspx" rel="nofollow">official docs</a> it's obvious that PowerShell <code>-match</code> operator is more powerful than <code>-like</code> (due to regular expressions). Secondly, it seems ~10 times faster according to this article <a href="https://www.pluralsight.com/blog/software-development/powershell-operators-like-match" rel="nofollow">https://www.pluralsight.com/blog/software-development/powershell-operators-like-match</a>.</p>
  
  <p>Are there specific cases when I should prefer <code>-like</code> instead of <code>-match</code>? If there not, why at all should I use <code>-like</code>? Does it exist because of historical reasons?</p>