Have you ever noticed that if you include a variable within a PowerShell Write-Host statement, that variable is evaluated, even if you include the reference to the variable within the quotation marks?
Don’t copy and paste the same code over and over again. Instead, create a PowerShell function and save yourself time.