Your network contains an Active Directory domain. The domain contains a computer named Computer1 that runs Windows 11.
You need to enable the Windows Remote Management (WinRM) service on Computer1 and perform the following configurations:
• For the WinRM service, set Startup type to Automatic.
• Create a listener that accepts requests from any IP address.
• Enable a firewall exception for WS-Management communications.
Which PowerShell cmdlet should you use?