This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
To do - from OneNote: Win10 hardening (on public connections) | |
§ Disable IE auto configuration | |
§ Disable SMB1 | |
Disable-WindowsOptionalFeature -Online -FeatureName SMB1Protocol | |
§ Enable firewall, disable network sharing and discovery (public network profile) | |
Set-NetFirewallProfile -Name Public -Enabled True | |
Get-NetFirewallRule -DisplayGroup "File and Printer Sharing" | ? {$_.Profile -eq 'Public'} | Set-NetFirewallRule -Enabled false |