- Open PowerShell with administrator privileges.
- Run the command
Set-ExecutionPolicy Bypassand accept when prompted. - Change the path using
cd C:/Users/USERNAME/Desktop. - Type the first 3 initials of the script, then hit Tab to autocomplete, and press Enter.
Set-ExecutionPolicy Bypass
Y
cd $Env:UserProfile\Desktop
./Repair-Internet-Script.ps1