How to find out if a Windows Server was last patched.

From Powershell, run this command.

<pre lang="bash">
get-hotfix

From the command line, run this command.

<pre lang="bash">
C:\> systeminfo.exe

Or from the menu, follow these steps.

<pre lang="bash">
Open the Windows Settings UI.
Click on Update & security.
Click on the "Update history" link located under the Windows Update tab.