<?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: How to delete files older than X days automatically using PowerShell	</title>
	<atom:link href="https://pureinfotech.com/delete-files-older-than-days-powershell/feed/" rel="self" type="application/rss+xml" />
	<link>https://pureinfotech.com/delete-files-older-than-days-powershell/</link>
	<description>Pureinfotech is the best site to get Windows help – featuring friendly how-to guides on Windows 10, Windows 11, Xbox, and other things tech, news, deals, reviews, and more.</description>
	<lastBuildDate>Mon, 06 Feb 2023 14:57:38 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.1</generator>
	<item>
		<title>
		By: Sudarsan Ilamaran		</title>
		<link>https://pureinfotech.com/delete-files-older-than-days-powershell/#comment-16751</link>

		<dc:creator><![CDATA[Sudarsan Ilamaran]]></dc:creator>
		<pubDate>Wed, 22 Sep 2021 07:32:49 +0000</pubDate>
		<guid isPermaLink="false">https://pureinfotech.com/?p=94617#comment-16751</guid>

					<description><![CDATA[Its deleting the files but its not deleted the folders, How can i delete the folders also]]></description>
			<content:encoded><![CDATA[<p>Its deleting the files but its not deleted the folders, How can i delete the folders also</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Daniel Ocampo		</title>
		<link>https://pureinfotech.com/delete-files-older-than-days-powershell/#comment-16500</link>

		<dc:creator><![CDATA[Daniel Ocampo]]></dc:creator>
		<pubDate>Thu, 26 Mar 2020 02:20:11 +0000</pubDate>
		<guid isPermaLink="false">https://pureinfotech.com/?p=94617#comment-16500</guid>

					<description><![CDATA[I followed the steps, however when I enable Run whether user is logged on or not option, the programs status stays on running and never deletes the files. If I enable the run When user is logged on I get no problems. Anyone have any ideas  why this is the case?]]></description>
			<content:encoded><![CDATA[<p>I followed the steps, however when I enable Run whether user is logged on or not option, the programs status stays on running and never deletes the files. If I enable the run When user is logged on I get no problems. Anyone have any ideas  why this is the case?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Thomas		</title>
		<link>https://pureinfotech.com/delete-files-older-than-days-powershell/#comment-16034</link>

		<dc:creator><![CDATA[Thomas]]></dc:creator>
		<pubDate>Thu, 05 Dec 2019 13:07:14 +0000</pubDate>
		<guid isPermaLink="false">https://pureinfotech.com/?p=94617#comment-16034</guid>

					<description><![CDATA[Can you send the files to recycle bin?]]></description>
			<content:encoded><![CDATA[<p>Can you send the files to recycle bin?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: G-in NC		</title>
		<link>https://pureinfotech.com/delete-files-older-than-days-powershell/#comment-13791</link>

		<dc:creator><![CDATA[G-in NC]]></dc:creator>
		<pubDate>Thu, 21 Mar 2019 15:29:13 +0000</pubDate>
		<guid isPermaLink="false">https://pureinfotech.com/?p=94617#comment-13791</guid>

					<description><![CDATA[The script works - however, I need to have an &quot;auto answer&quot; because I get a question &quot;(folder) has children and the Recurse parameter was not specified.  There are many folders (in my example) &quot;F:ftproot&quot; that has sub-folder and files.  The script is asking &quot;do you want to continue&quot; and choices is &quot;A = Yes to All, N=No, L=No to all, S=Suspend

I appreciate any help or insight to resolve this.]]></description>
			<content:encoded><![CDATA[<p>The script works &#8211; however, I need to have an &#8220;auto answer&#8221; because I get a question &#8220;(folder) has children and the Recurse parameter was not specified.  There are many folders (in my example) &#8220;F:ftproot&#8221; that has sub-folder and files.  The script is asking &#8220;do you want to continue&#8221; and choices is &#8220;A = Yes to All, N=No, L=No to all, S=Suspend</p>
<p>I appreciate any help or insight to resolve this.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Mauro		</title>
		<link>https://pureinfotech.com/delete-files-older-than-days-powershell/#comment-12414</link>

		<dc:creator><![CDATA[Mauro]]></dc:creator>
		<pubDate>Thu, 31 Jan 2019 17:34:03 +0000</pubDate>
		<guid isPermaLink="false">https://pureinfotech.com/?p=94617#comment-12414</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://pureinfotech.com/delete-files-older-than-days-powershell/#comment-12412&quot;&gt;Johnathan Wright&lt;/a&gt;.

Trying changing the &quot;LastWriteTime&quot; property for the &quot;CreationTime.&quot;
Thanks,]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://pureinfotech.com/delete-files-older-than-days-powershell/#comment-12412">Johnathan Wright</a>.</p>
<p>Trying changing the &#8220;LastWriteTime&#8221; property for the &#8220;CreationTime.&#8221;<br />
Thanks,</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Johnathan Wright		</title>
		<link>https://pureinfotech.com/delete-files-older-than-days-powershell/#comment-12412</link>

		<dc:creator><![CDATA[Johnathan Wright]]></dc:creator>
		<pubDate>Thu, 31 Jan 2019 17:27:43 +0000</pubDate>
		<guid isPermaLink="false">https://pureinfotech.com/?p=94617#comment-12412</guid>

					<description><![CDATA[How to modify this so it looks at creation date rather than last modified date?]]></description>
			<content:encoded><![CDATA[<p>How to modify this so it looks at creation date rather than last modified date?</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 

Served from: pureinfotech.com @ 2026-09-20 08:00:17 by W3 Total Cache
-->