<?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/"
	xmlns:media="http://search.yahoo.com/mrss/" 
	>
<channel>
	<title>
	Comments on: How to Get File Size Using PowerShell?	</title>
	<atom:link href="https://www.spguides.com/check-file-size-using-powershell/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.spguides.com/check-file-size-using-powershell/</link>
	<description>Learn SharePoint, Power Platform, SPFx, etc, SharePoint training courses</description>
	<lastBuildDate>Wed, 26 Mar 2025 10:59:16 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.9</generator>
	<item>
		<title>
		By: Jeff Hicks		</title>
		<link>https://www.spguides.com/check-file-size-using-powershell/#comment-51</link>

		<dc:creator><![CDATA[Jeff Hicks]]></dc:creator>
		<pubDate>Wed, 24 Jun 2020 14:48:30 +0000</pubDate>
		<guid isPermaLink="false">https://www.sharepointsky.com/?p=771#comment-51</guid>

					<description><![CDATA[Something to be careful of is that most of the formatting examples you are showing will result in a string. This means if you are using your techniques in a pipelined expression and pipe output to something like Sort-Object, the sort will be on the string which may not be accurate.

Here are other ways to format the number and retain a numeric value that will properly sort.

$size = 256654
$size/1KB
$size/1KB -as [int]
[math]::round($size/1kb,2)]]></description>
			<content:encoded><![CDATA[<p>Something to be careful of is that most of the formatting examples you are showing will result in a string. This means if you are using your techniques in a pipelined expression and pipe output to something like Sort-Object, the sort will be on the string which may not be accurate.</p>
<p>Here are other ways to format the number and retain a numeric value that will properly sort.</p>
<p>$size = 256654<br />
$size/1KB<br />
$size/1KB -as [int]<br />
[math]::round($size/1kb,2)</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
