Skip to content

Commit f93422e

Browse files
authored
Update FFS_Connect.ps1
1 parent 6e22b3a commit f93422e

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

FFS_Connect.ps1

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
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"
49
#Display current firewall settings
510
Get-NetFirewallProfile | Format-List -Property Profile, Enabled
611

@@ -46,10 +51,6 @@ echo "Firewall Opened to FRC Protocols"
4651
#Display current firewall settings
4752
Get-NetFirewallProfile | Format-List -Property Profile, Enabled
4853

49-
#Set Connection to Private
50-
echo "Setting Connection as Private"
51-
Set-NetConnectionProfile -NetworkCategory "Private"
52-
5354
#Stop Windows updates
5455
net stop wuauserv
5556
echo "Windows Update Service Stopped"
@@ -84,6 +85,10 @@ echo "Wireless Adapters Disabled, Ethernet Adapters Reset"
8485
#Show Status of Adapters
8586
Get-NetAdapter | Format-List -Property Name,Status,AdminStatus,HardwareInterface
8687

88+
#Set Connection to Private
89+
echo "Setting Connection as Private"
90+
Set-NetConnectionProfile -NetworkCategory "Private"
91+
8792
echo "Set Ethernet adapters to use DHCP?"
8893
pause
8994

0 commit comments

Comments
 (0)