This commit is contained in:
USER
2023-02-27 19:35:53 +00:00
parent 14e187ed76
commit 586c89e6cf
3 changed files with 0 additions and 0 deletions

5
PS/DisableNet.ps1 Normal file
View File

@ -0,0 +1,5 @@
#Get-NetFirewallRule -DisplayGroup 'Network Discovery'
Set-NetFirewallRule -DisplayGroup 'Network Discovery' -Profile 'Private' -Enabled false
Set-NetFirewallRule -DisplayGroup 'File And Printer Sharing' -Profile 'Private' -Enabled false
#select Name,DisplayName,Enabled,Profile|ft -a