You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears the script expects a fresh hosts file that is saved so that any addition will be on a brand new line. If the hosts file was previously edited and someone deleted the empty line it will append on the same line as the last entry. Example:
::1 localhost192.168.1.1 home
I'm not a powershell wizard but I'm guessing there might be a way to check if there is fresh CRLF before appending?
The text was updated successfully, but these errors were encountered:
It appears the script expects a fresh hosts file that is saved so that any addition will be on a brand new line. If the hosts file was previously edited and someone deleted the empty line it will append on the same line as the last entry. Example:
::1 localhost192.168.1.1 home
I'm not a powershell wizard but I'm guessing there might be a way to check if there is fresh CRLF before appending?
The text was updated successfully, but these errors were encountered: