Which PowerShell commands should you run on Computer1?
You administer Windows 10 Enterprise computers in your company network.The computers are configured to allow remote connections.You attempt to create a Remote Desktop Connection to a computer named Computer1.You receive the following message:”Remote Desktop can’t connect to the remote computer.”You are able to ping Computer1.You discover that Remote Desktop Firewall rules are not present on Computer1.You need to connect to Computer1 by using Remote Desktop.Which PowerShell commands should you run on Computer1?-Direction Out -Action Allow:New-NetFirewallRuleCreates a new inbound or outbound firewall rule and adds the rule to the target computer. SyntaxNew-NetFirewallRule -DisplayName
Question:
Which PowerShell commands should you run on Computer1?
Options:
Set-NetFirewallRule -Name RemoteSvcAdmin-in-TCP -Enable True
Set -NetFirewallRule -Name RemoteFwAdmin-In-TCP -Enable True
New-NetFirewallRule -DisplayName RdpTCPin -localPort 3389 – Protocol TCP
New-NetFirewallRule -DisplayName RdpTCPout -localPort 3389 – Protocol TCP
Correct Answer
The Correct Answer for this Question is
New-NetFirewallRule -DisplayName RdpTCPin -localPort 3389 – Protocol TCP