<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: PowerShell Script To Delete Files &#038; Folders	</title>
	<atom:link href="https://magander.se/powershell-script-to-delete-files-folders/feed/" rel="self" type="application/rss+xml" />
	<link>https://magander.se/powershell-script-to-delete-files-folders/</link>
	<description></description>
	<lastBuildDate>Fri, 10 Apr 2020 17:18:11 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>
		By: JV		</title>
		<link>https://magander.se/powershell-script-to-delete-files-folders/#comment-187943</link>

		<dc:creator><![CDATA[JV]]></dc:creator>
		<pubDate>Fri, 10 Apr 2020 17:18:11 +0000</pubDate>
		<guid isPermaLink="false">http://magander.se/?p=10796#comment-187943</guid>

					<description><![CDATA[Thank you so much, I have not been able to work this out. 

I have specified $deletefilesolderthan=&quot;1&quot;

The strange things is only keeps folders a day old, folders created today are deleted. Please can you advise?]]></description>
			<content:encoded><![CDATA[<p>Thank you so much, I have not been able to work this out. </p>
<p>I have specified $deletefilesolderthan=&#8221;1&#8243;</p>
<p>The strange things is only keeps folders a day old, folders created today are deleted. Please can you advise?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Indrajit Bose		</title>
		<link>https://magander.se/powershell-script-to-delete-files-folders/#comment-182357</link>

		<dc:creator><![CDATA[Indrajit Bose]]></dc:creator>
		<pubDate>Thu, 26 Dec 2019 08:05:48 +0000</pubDate>
		<guid isPermaLink="false">http://magander.se/?p=10796#comment-182357</guid>

					<description><![CDATA[Folders are created long before the files are creating. This script will delete all files upto that date but will delete the folders too irrespective of dates, thus you loose current files in the folders too, thats should be mentioned here.]]></description>
			<content:encoded><![CDATA[<p>Folders are created long before the files are creating. This script will delete all files upto that date but will delete the folders too irrespective of dates, thus you loose current files in the folders too, thats should be mentioned here.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Timaty		</title>
		<link>https://magander.se/powershell-script-to-delete-files-folders/#comment-163792</link>

		<dc:creator><![CDATA[Timaty]]></dc:creator>
		<pubDate>Wed, 06 Feb 2019 21:13:54 +0000</pubDate>
		<guid isPermaLink="false">http://magander.se/?p=10796#comment-163792</guid>

					<description><![CDATA[Thank you for the script. 
It only deletes files/folders for me when a negative value is provided for $deletefilesolderthan e.g. -1 days, but then it deletes everything regardless of whatever value is provided for $deletefilesolderthan be it -1 or -365, everything is gone. :(]]></description>
			<content:encoded><![CDATA[<p>Thank you for the script.<br />
It only deletes files/folders for me when a negative value is provided for $deletefilesolderthan e.g. -1 days, but then it deletes everything regardless of whatever value is provided for $deletefilesolderthan be it -1 or -365, everything is gone. 🙁</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: magander3		</title>
		<link>https://magander.se/powershell-script-to-delete-files-folders/#comment-154814</link>

		<dc:creator><![CDATA[magander3]]></dc:creator>
		<pubDate>Fri, 05 Oct 2018 07:56:28 +0000</pubDate>
		<guid isPermaLink="false">http://magander.se/?p=10796#comment-154814</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://magander.se/powershell-script-to-delete-files-folders/#comment-154800&quot;&gt;Shelby&lt;/a&gt;.

glad you found it useful.

//Magnus]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://magander.se/powershell-script-to-delete-files-folders/#comment-154800">Shelby</a>.</p>
<p>glad you found it useful.</p>
<p>//Magnus</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Shelby		</title>
		<link>https://magander.se/powershell-script-to-delete-files-folders/#comment-154800</link>

		<dc:creator><![CDATA[Shelby]]></dc:creator>
		<pubDate>Fri, 05 Oct 2018 04:07:21 +0000</pubDate>
		<guid isPermaLink="false">http://magander.se/?p=10796#comment-154800</guid>

					<description><![CDATA[This works, now I can delete my old files and append new ones, I have scheduled it through Alteryx, it works fine with no manual job, and I am too lazy for manual work ..lol
 thanks Magnus Andersson]]></description>
			<content:encoded><![CDATA[<p>This works, now I can delete my old files and append new ones, I have scheduled it through Alteryx, it works fine with no manual job, and I am too lazy for manual work ..lol<br />
 thanks Magnus Andersson</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>

<!--
Object Caching 20/36 objects using Disk
Page Caching using Disk: Enhanced 

Served from: magander.se @ 2026-06-22 11:03:38 by W3 Total Cache
-->