Quantcast
Channel: AutoSPInstaller
Viewing all articles
Browse latest Browse all 2279

Edited Issue: AddToHOSTS is case sensitive [20557]

$
0
0
```
If ($file.Contains(" $hostname") -or $file.Contains("`t$hostname"))

```
cannot detect already existing entries if the case does not match.

Quick Suggestion:

```
If (($file -match " $hostname") -or ($file -match "`t$hostname"))
```

Viewing all articles
Browse latest Browse all 2279

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>