<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Nexa Ergon Inc.</title>
	<atom:link href="https://nexa-ergon.com/feed/" rel="self" type="application/rss+xml" />
	<link>https://nexa-ergon.com</link>
	<description>Innovating the Future, Empowering Your Success</description>
	<lastBuildDate>Tue, 24 Jun 2025 20:19:25 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://nexa-ergon.com/wp-content/uploads/2025/06/cropped-Nexa-Ergon-Logo-32x32.png</url>
	<title>Nexa Ergon Inc.</title>
	<link>https://nexa-ergon.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>PowerShell: Measure-Object Cmdlet</title>
		<link>https://nexa-ergon.com/2025/06/24/powershell-measure-object-cmdlet/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=powershell-measure-object-cmdlet</link>
					<comments>https://nexa-ergon.com/2025/06/24/powershell-measure-object-cmdlet/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 24 Jun 2025 20:17:25 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Clean-up]]></category>
		<category><![CDATA[Intune]]></category>
		<category><![CDATA[Microsoft365]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[Remediation]]></category>
		<category><![CDATA[Scripting]]></category>
		<guid isPermaLink="false">https://nexa-ergon.com/?p=375</guid>

					<description><![CDATA[<p>Are you struggling with an application cache folder that keeps growing and consuming valuable storage space? Discover how the Measure-Object cmdlet in PowerShell can help you tackle this issue effectively! With its ability to perform object counts and calculate descriptive statistics, you can easily monitor and manage your cache folder's size. In this post, we’ll explore a practical solution that implements auto-cleanup through a scheduled script, ensuring your system runs smoothly without the burden of excessive disk usage. Don’t let performance and storage impacts slow you down—read on to learn how to streamline your application’s cache management!</p>
<p>The post <a href="https://nexa-ergon.com/2025/06/24/powershell-measure-object-cmdlet/">PowerShell: Measure-Object Cmdlet</a> first appeared on <a href="https://nexa-ergon.com">Nexa Ergon Inc.</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>The Measure-Object cmdlet is used to calculate the property values of certain object types. The cmdlet performs three types of measurements – object counts, descriptive statistical metrics of numeric values, and character counts.</p>



<p><strong>Example</strong>: Measure directory size</p>



<p><em>Measure-Object -Property length -Minimum -Maximum -Sum -Average</em></p>



<p><strong>Use Case</strong>:</p>



<p>The client has an application cache folder that grows significantly and consumes storage space.</p>



<p><strong>Impact</strong>:</p>



<ul class="wp-block-list">
<li>Performance impact: slower disk I/O, longer file access times</li>



<li>Storage impact: reduced available space for critical applications and data, potential disk fragmentation.</li>
</ul>



<p><strong>Solution</strong>:</p>



<p>Implemented auto-cleanup using a scheduled script to delete the cache folder at a set file size limit using the Measure-Object cmdlet.</p>



<p>In this post, I will share a redacted version of the simple script used for auto-cleanup.</p>



<p><strong>Script</strong>:</p>



<figure class="wp-block-image size-full"><img fetchpriority="high" decoding="async" width="780" height="853" src="https://nexa-ergon.com/wp-content/uploads/2025/06/image-1.png" alt="" class="wp-image-379" srcset="https://nexa-ergon.com/wp-content/uploads/2025/06/image-1.png 780w, https://nexa-ergon.com/wp-content/uploads/2025/06/image-1-274x300.png 274w, https://nexa-ergon.com/wp-content/uploads/2025/06/image-1-768x840.png 768w" sizes="(max-width: 780px) 100vw, 780px" /></figure>



<p><strong>Bonus Script for cache folder cleanup.</strong></p>



<figure class="wp-block-image size-full"><img decoding="async" width="417" height="919" src="https://nexa-ergon.com/wp-content/uploads/2025/06/image.jpg" alt="" class="wp-image-380" srcset="https://nexa-ergon.com/wp-content/uploads/2025/06/image.jpg 417w, https://nexa-ergon.com/wp-content/uploads/2025/06/image-136x300.jpg 136w" sizes="(max-width: 417px) 100vw, 417px" /></figure>



<p><strong>Further Reading</strong>: <a href="https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/measure-object?view=powershell-7.5">Measure-Object (Microsoft.PowerShell.Utility) &#8211; PowerShell | Microsoft Learn</a></p>



<p></p><p>The post <a href="https://nexa-ergon.com/2025/06/24/powershell-measure-object-cmdlet/">PowerShell: Measure-Object Cmdlet</a> first appeared on <a href="https://nexa-ergon.com">Nexa Ergon Inc.</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://nexa-ergon.com/2025/06/24/powershell-measure-object-cmdlet/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>PowerShell: Where-Object Cmdlet</title>
		<link>https://nexa-ergon.com/2025/06/24/powershell-where-object-cmdlet/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=powershell-where-object-cmdlet</link>
					<comments>https://nexa-ergon.com/2025/06/24/powershell-where-object-cmdlet/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 24 Jun 2025 20:00:34 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Clean-up]]></category>
		<category><![CDATA[Intune]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Microsoft365]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[Remediation]]></category>
		<category><![CDATA[Scripting]]></category>
		<guid isPermaLink="false">https://nexa-ergon.com/?p=367</guid>

					<description><![CDATA[<p>Are you a Microsoft 365 administrator looking to streamline your processes? Join me on a journey as I share practical insights and solutions from my experience in the field. In this first article, we dive into the powerful Where-Object cmdlet, a tool that can help you manage and clean up Wi-Fi profiles across hundreds of workstations. Discover how a simple PowerShell script can enhance your network performance and reduce risks associated with profile mismanagement. Let’s explore this essential cmdlet and its real-world applications together!</p>
<p>The post <a href="https://nexa-ergon.com/2025/06/24/powershell-where-object-cmdlet/">PowerShell: Where-Object Cmdlet</a> first appeared on <a href="https://nexa-ergon.com">Nexa Ergon Inc.</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>A few weeks ago, as I sat at my home-office desk drinking from my cup of coffee (okay… I don’t drink coffee) and reflected on my journey as a Microsoft 365 administrator and what the next few years may have to offer – hmmm… what I have to offer &#8211; to aspiring system administrators and organizations – I thought to share some of the small challenges I have dealt with over the years that may benefit the community. So, I committed to starting a series of articles sharing how-to guides, PowerShell cmdlets, and their implementation in simple functional scripts, perspectives on cloud technologies, performance reporting, etc.</p>



<p>Here we go with the first of hopefully many to come.</p>



<p>Starting with the <strong>Where-Object cmdlet</strong> – I hope someone finds this useful and applicable.</p>



<p>The Where-Object cmdlet is used to select objects that match values from an array of objects.</p>



<p>It is effective in comparing/matching values between different arrays.</p>



<p><strong>Use Case</strong>:</p>



<p>A client had a list of Wi-Fi profiles associated with the Enrollment Manager account that was pushed to over 400 workstations via roaming profiles.</p>



<p>This presented several risks which included profile mismanagement and conflict, impact on network performance because of excessive profile data, user tracking etc.</p>



<p>The request was to clean up the Wi-Fi profile on the workstations.</p>



<p><strong>Solution</strong>:</p>



<p>Implemented an Intune Remediation using a PowerShell script that checks for any match between an array of the listed Wi-Fi profiles from the Enrollment Manager account and the Wi-Fi profiles on user profiles.</p>



<p>In the post, I will share a redacted version of the simple script used for remediation.</p>



<p><strong>Script:</strong></p>



<figure class="wp-block-image size-full"><img decoding="async" width="610" height="676" src="https://nexa-ergon.com/wp-content/uploads/2025/06/image.png" alt="" class="wp-image-372" srcset="https://nexa-ergon.com/wp-content/uploads/2025/06/image.png 610w, https://nexa-ergon.com/wp-content/uploads/2025/06/image-271x300.png 271w" sizes="(max-width: 610px) 100vw, 610px" /></figure>



<p><strong>Further Reading</strong>: <a href="https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/where-object?view=powershell-7.5">Where-Object (Microsoft.PowerShell.Core) &#8211; PowerShell | Microsoft Learn</a></p>



<p></p><p>The post <a href="https://nexa-ergon.com/2025/06/24/powershell-where-object-cmdlet/">PowerShell: Where-Object Cmdlet</a> first appeared on <a href="https://nexa-ergon.com">Nexa Ergon Inc.</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://nexa-ergon.com/2025/06/24/powershell-where-object-cmdlet/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
