Edit-EtcHosts

SYNOPSIS

Edit \etc\hosts file with notepad.

SYNTAX

Edit-EtcHosts

DESCRIPTION

This funtion starts notepad.exe as administrator and opens the hosts file for editing.

run notepad as administrator and open the hosts file for editing

EXAMPLES

Example 1

PS C:\> Edit-EtcHosts

This example opens the local \etc\hosts file in an administrative notepad for editing.

PARAMETERS

INPUTS

OUTPUTS

NOTES