WinRM: Difference between revisions

From Omnia
Jump to navigation Jump to search
(Created page with "Test WinRM: Not a valid API call, but verifies if WinRM service is listening: <pre> # curl -i -k https://moonshadow.home.lab:5986 HTTP/2 404 content-type: text/html; charset=us-ascii server: Microsoft-HTTPAPI/2.0 date: Thu, 28 Mar 2024 18:24:22 GMT content-length: 315 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd"> <HTML><HEAD><TITLE>Not Found</TITLE> <META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD>...")
 
No edit summary
Line 17: Line 17:
</BODY></HTML>
</BODY></HTML>
</pre>
</pre>
--
Service:  "WinRM" - "Windows Remote Management (WS-Management)"
Restart service:
net stop WinRM
net start WinRM

Revision as of 05:13, 14 June 2024

Test WinRM:

Not a valid API call, but verifies if WinRM service is listening:

# curl -i -k https://moonshadow.home.lab:5986
HTTP/2 404
content-type: text/html; charset=us-ascii
server: Microsoft-HTTPAPI/2.0
date: Thu, 28 Mar 2024 18:24:22 GMT
content-length: 315

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">
<HTML><HEAD><TITLE>Not Found</TITLE>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD>
<BODY><h2>Not Found</h2>
<hr><p>HTTP Error 404. The requested resource is not found.</p>
</BODY></HTML>

--

Service:  "WinRM" - "Windows Remote Management (WS-Management)"

Restart service:

net stop WinRM
net start WinRM