Avatar of creative555
creative555
 asked on

powershell help. I want to run the netsh command and update firewall on multiple servers at once. how would i do it?

Hi,
I would like to run the following netsh command and update firewall on multiple servers all at once. how would i do it?  this is cmd command not powershell. do you have a script to run it on multiple servers?

Thank you so much!

netsh advfirewall firewall set rule group="File and Printer Sharing" new enable=Yes
VB ScriptPowershellScripting Languages

Avatar of undefined
Last Comment
creative555

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
becraig

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
creative555

ASKER
thank you so much! Simple and nice :)
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck