Saturday, March 25, 2023

How to add firewall rule in windows 10 for sharing printer by using PowerShell

 Open PowerShell in admin mode and type below command.


set-NetFirewallRule -DisplayGroup "File And Printer Sharing" -Enabled True -Profile Any




No comments:

Post a Comment