How to open windows OS host entry file with powershell cmdlet or windows run dialog box?

53 views Asked by At

I hope there must be powershell cmdlet to open the Windows host entry file. I have checked across the net and I could to find the windows command for opening the host entry file, so I can utilize it in Windows Run Dialog box

1

There are 1 answers

1
leafy911 On BEST ANSWER

Windows host entry file is just a text file, so all you need to do is:

notepad c:\windows\system32\drivers\etc\hosts