The winrm quickconfig command (or the abbreviated version winrm qc) performs the following operations:
1. Starts the WinRM service, and sets the service startup type to auto-start. 2. Configures a listener for the ports that send and receive WS-Management protocol messages using either HTTP or HTTPS on any IP address. 3. Creates firewall exceptions for the WinRM service, opens the ports for HTTP and HTTPS for the current user profile.