<?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>System Center Configuration Manager &#8211; XtremeOwnage</title>
	<atom:link href="https://xtremeownage.com/category/technology/system-center/sccm/feed/" rel="self" type="application/rss+xml" />
	<link>https://xtremeownage.com</link>
	<description>Cars, Computers, and Code.</description>
	<lastBuildDate>Sun, 08 Jan 2023 02:09:07 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.4.3</generator>

<image>
	<url>https://xtremeownage.com/wp-content/uploads/2019/09/cropped-Turbo-512-2-100x100.png</url>
	<title>System Center Configuration Manager &#8211; XtremeOwnage</title>
	<link>https://xtremeownage.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Collection Membership based on Folder Existing</title>
		<link>https://xtremeownage.com/2015/02/03/collection-membership-based-on-folder-existing/</link>
		
		<dc:creator><![CDATA[XO]]></dc:creator>
		<pubDate>Tue, 03 Feb 2015 21:33:19 +0000</pubDate>
				<category><![CDATA[System Center Configuration Manager]]></category>
		<guid isPermaLink="false">https://xtremeownage.com/?p=461</guid>

					<description><![CDATA[Here is an old example I created back in 2015, to populate a collection based on devices who have a folder present. As apart of the migration to this new...]]></description>
										<content:encoded><![CDATA[
<p>Here is an old example I created back in 2015, to populate a collection based on devices who have a folder present. As apart of the migration to this new blog- it has been reposted here.</p>



<p>

Ever had the need to create a SCCM collection based on if a folder exists on a system?</p>



<p>Well, its quite easy.</p>



<p>Under Criteria, Select Software Files.<br>Select your Value as File Path</p>



<p>Remember to use your wildcard! &#8220;%&#8221;</p>



<p>The end query will resemble this: </p>



<pre class="wp-block-code"><code lang="sql" class="language-sql line-numbers">select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client 
FROM SMS_R_System inner join SMS_G_System_SoftwareFile on SMS_G_System_SoftwareFile.ResourceId = SMS_R_System.ResourceId 
WHERE SMS_G_System_SoftwareFile.FilePath LIKE "C:\\Temp\\%"</code></pre>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
