<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Get last &#96;n&#96; lines of a huge file in Windows using PowerShell]]></title><description><![CDATA[<p dir="auto">You can use a command like:</p>
<pre><code>Get-Content InputFile.txt -Tail n &gt; OutputFile.txt
</code></pre>
<p dir="auto">Replace <code>InputFile.txt</code> with the file you want to get the data from. Replace <code>n</code> with the amount of lines you want to extract from the file. Replace the <code>OutputFile.txt</code> with what you would like the file to be named. The file will be placed wherever your current directory is in PowerShell.</p>
]]></description><link>https://forum.sumisu.xyz/topic/34/get-last-n-lines-of-a-huge-file-in-windows-using-powershell</link><generator>RSS for Node</generator><lastBuildDate>Sat, 30 May 2026 23:26:08 GMT</lastBuildDate><atom:link href="https://forum.sumisu.xyz/topic/34.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 18 Nov 2024 03:39:33 GMT</pubDate><ttl>60</ttl></channel></rss>