Difference between revisions of "CMD"

From DevOps Notebook
(Created page with "=== Restart windows via CMD === <pre> shutdown /r /f /t 180 /c "Please Save your work now your computer will logoff" </pre>")
 
 
Line 2: Line 2:
 
<pre>
 
<pre>
 
shutdown /r /f /t 180 /c "Please Save your work now your computer will logoff"
 
shutdown /r /f /t 180 /c "Please Save your work now your computer will logoff"
 +
</pre>
 +
 +
=== How to check .NET version using Command Prompt ===
 +
<pre>
 +
reg query "HKLM\SOFTWARE\Microsoft\Net Framework Setup\NDP\v4" /s
 
</pre>
 
</pre>

Latest revision as of 09:24, 19 October 2020

Restart windows via CMD

shutdown /r /f /t 180 /c "Please Save your work now your computer will logoff"

How to check .NET version using Command Prompt

reg query "HKLM\SOFTWARE\Microsoft\Net Framework Setup\NDP\v4" /s