<?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 09:58:03 +0000</lastBuildDate>
    <item>
      <title>(Windows PowerShell) Powershell - Replace multiple spaces with single spaces - ericmorin21</title>
      <link>https://snipplr.com/view/14387/powershell--replace-multiple-spaces-with-single-spaces</link>
      <description>&lt;p&gt;I needed to clean up strings with an unpredictable number of spaces interspersed throughout. Powershell's Replace method to the rescue.&lt;/p&gt;</description>
      <pubDate>Fri, 24 Apr 2009 17:24:06 UTC</pubDate>
      <guid>https://snipplr.com/view/14387/powershell--replace-multiple-spaces-with-single-spaces</guid>
    </item>
    <item>
      <title>(Windows PowerShell) Left-padding in Powershell - ericmorin21</title>
      <link>https://snipplr.com/view/14130/leftpadding-in-powershell</link>
      <description>&lt;p&gt;For clarity, I have broken two variables out, but this could easily be a one-liner.&#13;
Usage:&#13;
Replace X with the character you wish to use to pad (e.g. 0 (zero)).&#13;
Replace Y with an integer representing the desired TOTAL length of the string.&lt;/p&gt;</description>
      <pubDate>Fri, 17 Apr 2009 17:04:04 UTC</pubDate>
      <guid>https://snipplr.com/view/14130/leftpadding-in-powershell</guid>
    </item>
    <item>
      <title>(Windows PowerShell) Use Powershell to remove all instances of thumbs.db in current tree - ericmorin21</title>
      <link>https://snipplr.com/view/14097/use-powershell-to-remove-all-instances-of-thumbsdb-in-current-tree</link>
      <description>&lt;p&gt;Powershell 1.0's Remove-Item recursion "doesn't work" according to the help, so you must find all instances with Get_ChildItem then pass the results to Remove-Item.  Use th ecommented -"WhatIf" argument to determine what will be deleted before executing for real.&lt;/p&gt;</description>
      <pubDate>Thu, 16 Apr 2009 12:21:45 UTC</pubDate>
      <guid>https://snipplr.com/view/14097/use-powershell-to-remove-all-instances-of-thumbsdb-in-current-tree</guid>
    </item>
  </channel>
</rss>
