|
1 | | -# Created by Fletcher Salesky |
2 | | -# FFS Connect (This verson from 2023-03-21) |
3 | | - |
| 1 | +echo " _________________ __________ _ ___ ____________________" |
| 2 | +echo " / ____/ ____/ ___/ / ____/ __ \/ | / / | / / ____/ ____/_ __/" |
| 3 | +echo " / /_ / /_ \__ \ / / / / / / |/ / |/ / __/ / / / / " |
| 4 | +echo " / __/ / __/ ___/ / / /___/ /_/ / /| / /| / /___/ /___ / / " |
| 5 | +echo "/_/ /_/ /____/ \____/\____/_/ |_/_/ |_/_____/\____/ /_/ " |
| 6 | +echo " " |
| 7 | +echo "FFS Connect (This version from 2023-04-13)" |
| 8 | +echo "Created by Fletcher Salesky" |
4 | 9 | #Display current firewall settings |
5 | 10 | Get-NetFirewallProfile | Format-List -Property Profile, Enabled |
6 | 11 |
|
@@ -46,10 +51,6 @@ echo "Firewall Opened to FRC Protocols" |
46 | 51 | #Display current firewall settings |
47 | 52 | Get-NetFirewallProfile | Format-List -Property Profile, Enabled |
48 | 53 |
|
49 | | -#Set Connection to Private |
50 | | -echo "Setting Connection as Private" |
51 | | -Set-NetConnectionProfile -NetworkCategory "Private" |
52 | | - |
53 | 54 | #Stop Windows updates |
54 | 55 | net stop wuauserv |
55 | 56 | echo "Windows Update Service Stopped" |
@@ -84,6 +85,10 @@ echo "Wireless Adapters Disabled, Ethernet Adapters Reset" |
84 | 85 | #Show Status of Adapters |
85 | 86 | Get-NetAdapter | Format-List -Property Name,Status,AdminStatus,HardwareInterface |
86 | 87 |
|
| 88 | +#Set Connection to Private |
| 89 | +echo "Setting Connection as Private" |
| 90 | +Set-NetConnectionProfile -NetworkCategory "Private" |
| 91 | + |
87 | 92 | echo "Set Ethernet adapters to use DHCP?" |
88 | 93 | pause |
89 | 94 |
|
|
0 commit comments