Powershell Replace Substring In A Variable Method