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 .

已提問 2 年前檢視次數 121 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南