<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Tue, 09 Jun 2026 15:06:46 +0000</lastBuildDate>
    <item>
      <title>(DOS Batch) Put windows to sleep (and keep it asleep!) - Rectifier</title>
      <link>https://snipplr.com/view/65888/put-windows-to-sleep-and-keep-it-asleep</link>
      <description>&lt;p&gt;This is a fraction of a much larger script which does multiple tasks. This scriptlet is intended to be interactive and somewhat user-friendly. First, it asks if you want to place the computer into sleep mode, then it kills pesky processes associated with interrupting sleep mode, finally, if you want the batch to skip waiting you can press Y to immediately start the sleep sequence or press N to cancel at the last second.&lt;/p&gt;</description>
      <pubDate>Sun, 01 Jul 2012 06:24:51 UTC</pubDate>
      <guid>https://snipplr.com/view/65888/put-windows-to-sleep-and-keep-it-asleep</guid>
    </item>
    <item>
      <title>(DOS Batch) Save (and clear) Windows Event Logs - Rectifier</title>
      <link>https://snipplr.com/view/65885/save-and-clear-windows-event-logs</link>
      <description>&lt;p&gt;Uses the sysinternals (microsoft) utility PsLogList to save specified event logs to files and then clears them. Method can be used to save logs as .evt and .evtx. This script has four event logs listed as an example and has a template command commented. Tested on a local windows 7 machine, but should work for xp, server 2k3 and 2k8.&lt;/p&gt;</description>
      <pubDate>Sun, 01 Jul 2012 03:54:14 UTC</pubDate>
      <guid>https://snipplr.com/view/65885/save-and-clear-windows-event-logs</guid>
    </item>
    <item>
      <title>(DOS Batch) Clear Windows 7 Event Log - Rectifier</title>
      <link>https://snipplr.com/view/65884/clear-windows-7-event-log</link>
      <description>&lt;p&gt;This is a simple batch script to clear the event logs from a windows 7 or server 2008 machine. The script does *not* save these logs. This was tested on a local machine but could be adapted for remote use.&lt;/p&gt;</description>
      <pubDate>Sun, 01 Jul 2012 03:42:51 UTC</pubDate>
      <guid>https://snipplr.com/view/65884/clear-windows-7-event-log</guid>
    </item>
  </channel>
</rss>
