How to read and fetch data from secpol.msc(local security policy) ---> windows defender firewall with advanced security values in command prompt

0

We are using Windows server 2019 EC2 Instance . We are working on Windows OS hardening as per cis benchmark rules . We want to fetch the data of windows defender firewall with advanced security of local security policy(secpol.msc) .

We are using below command to fetch the data in command prompt of our EC2 instance:

netsh advfirewall show allprofiles

But command prompt is unable to fetch any latest changed data as we are changing values of windows defender firewall with advanced security as per our hardening rules .

Can anyone please suggest us the right command to fetch the updated data of windows defender firewall with advanced security section of local security policy(secpol.msc) of windows server 2019 EC2 instance .

Keine Antworten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen