powershellmagazine.com
#PSTip A difference between the –replace operator and String.Replace method
The -replace operator takes a regular expression (regex) replacement rule as input and replaces every match with the replacement string. The operator itself is used as shown in the following schem…