title: Replacing multiple characters in a single variable
body: <p>I'm working on defining a date variable, but I need the date to be able to be used as a file name. Because of that, I need to replace a few special characters grabbed by Get-Date and replace them with underscores and periods.</p>
  
  <p><code>$date = Get-Date -Format G | foreach {$_ -replace ":", "."}</code></p>
  
  <p>Currently, that replaces all the :'s in the datetime, but leaves /. How can I use -replace to replace multiple things?</p>