Note: This question is part of a series of questions that use the same or similar answer choices. An answer choice may be correct for more than one question in the series. Each question is independent of the other questions in this series. Information and details provided in a question apply only to that question.
You have a server named Served that runs Windows Server 2016.
You need to identify whether any connection security rules are configured on Server1.
Which cmdlet should you use?
A. Get-NetIPSecRule
B. Get-NetFirewallRule
C. Get-Net FirewallProfile
D. Get-NetFirewallSetting
E. Get-NetFirewallPortFilter
F. Get-NetFirewallAd dressFilter
G. Get-NetFire wallSecurityFilter
H. Get-NetFirewallApplicationFilter
A is Correct:
Connection security rules specify how and when Windows Firewall with Advanced Security uses IPsec to protect traffic passing between the local computer and other computers on the network. Connection security rules force two peer computers to authenticate before a connection can be established between them.
https://sourcedaddy.com/windows-7/understanding-connection-security-rules.html
b get netfirewall rule
given answer A. Get-NetIPSecRule is correct.
https://technet.microsoft.com/en-us/itpro/powershell/windows/netsecurity/get-netipsecrule
Get-NetIPSecRule displays the existence and details of Connection Security Rules, as connection security rules implements IPsec between computers (not using tunnel endpoints) or sites (using tunnel endpoints)
correct