<?php include("../HEADER.php"); ?>

<h1>Windows cheatsheet</h1>

<h2>Uptime</h2>
<p>Windows lacks the standard unix 'uptime' utility. Use this:</p>
<p class="code">net statistics server</p>

<h2>Warn all users in domain</h2>
<p>Make a domain-wide pop-up announcement:</p>
<p class="code">net send /DOMAIN "The server is rebooting"</p>

<h2>Kill service</h2>
<p>There is also a 'kill' command for services. (Alas, there doesn't seem to be a kill -9.)</p>
<p class="code">net stop "My Service"</p>
<p>And services can be started the same way.</p>
<p class="code">net start "My Service"</p>

<h2>Calculating checksums</h2>

<p>There's a command line utility called <code>md5sum</code>. (May need to download it.)</p>

<?php include("../FOOTER.php"); ?>
