<?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>TechColumnist &#187; ConfigMgr</title>
	<atom:link href="http://www.techcolumnist.com/wp/tag/configmgr/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.techcolumnist.com/wp</link>
	<description>Storage Information Blog</description>
	<lastBuildDate>Fri, 16 Jul 2010 15:56:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Preparing for SCCM &#8211; enabling Secure Key Exchange</title>
		<link>http://www.techcolumnist.com/wp/2008/03/02/preparing-for-sccm-enabling-secure-key-exchange/</link>
		<comments>http://www.techcolumnist.com/wp/2008/03/02/preparing-for-sccm-enabling-secure-key-exchange/#comments</comments>
		<pubDate>Mon, 03 Mar 2008 03:21:59 +0000</pubDate>
		<dc:creator>Tom Lasswell</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ConfigMgr]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://www.techcolumnist.com/wp/2008/03/02/preparing-for-sccm-enabling-secure-key-exchange/</guid>
		<description><![CDATA[I found this interesting forum post on the msft forums. This code will help you change all your sites to require secure key exchange. here's the post: http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=2796017&#38;SiteID=17 on error resume next ' Setup a connection to the local provider. Set swbemLocator = CreateObject("WbemScripting.SWbemLocator") Set swbemServices= swbemLocator.ConnectServer(".", "root\sms") Set providerLoc = swbemServices.InstancesOf("SMS_ProviderLocation") For Each Location In providerLoc If location.ProviderForLocalSite [...]]]></description>
			<content:encoded><![CDATA[<p>I found this interesting forum post on the msft forums. This code will help you change all your sites to require secure key exchange.</p>
<p>here's the post: <a href="http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=2796017&amp;SiteID=17">http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=2796017&amp;SiteID=17</a></p>
<p><span id="more-45"></span></p>
<p><code>on error resume next<br />
' Setup a connection to the local provider.<br />
Set swbemLocator = CreateObject("WbemScripting.SWbemLocator")<br />
Set swbemServices= swbemLocator.ConnectServer(".", "root\sms")<br />
Set providerLoc = swbemServices.InstancesOf("SMS_ProviderLocation")<br />
For Each Location In providerLoc<br />
If location.ProviderForLocalSite = True Then<br />
Set swbemServices = swbemLocator.ConnectServer(Location.Machine, "root\sms\site_" + Location.SiteCode)<br />
siteCode = Location.SiteCode<br />
Exit For<br />
End If<br />
Next</code></p>
<p><code>Set swbemContext = CreateObject("WbemScripting.SWbemNamedValueSet")<br />
swbemContext.Add "SessionHandle", swbemServices.ExecMethod("SMS_SiteControlFile", "GetSessionHandle").SessionHandle</code></p>
<p><code>' How to list the site security mode from the site control file.<br />
Call SetSecureKeyExchange(swbemServices, swbemContext, siteCode, 0)<br />
Sub SetSecureKeyExchange(swbemServices, _<br />
swbemContext, _<br />
siteCode, _<br />
enableDisableFlag)</code></p>
<p><code>' Load site control file and get the SMS_SCI_SiteDefinition section.<br />
swbemServices.ExecMethod "SMS_SiteControlFile.Filetype=1,Sitecode=""" &amp; siteCode &amp; """", "Refresh", , , swbemContext Query = "SELECT * FROM SMS_SCI_SiteDefinition " &amp; _<br />
"WHERE ItemName = 'Site Definition' " &amp; _<br />
"AND SiteCode = '" &amp; siteCode &amp; "'"</code></p>
<p><code>' Get the Site Definition properties.<br />
Set SCIComponentSet = swbemServices.ExecQuery(Query, ,wbemFlagForwardOnly Or wbemFlagReturnImmediately, swbemContext)</code></p>
<p><code>'Only one instance is returned from the query.<br />
For Each SCIComponent In SCIComponentSet<br />
'Loop through the array of embedded SMS_EmbeddedProperty instances.<br />
For Each vProperty In SCIComponent.Props<br />
' Setting: Allow unknown child sites aka check the box<br />
' require secure key exchange<br />
If vProperty.PropertyName = "Allow unknown child sites" Then<br />
wscript.echo "Site Code: " &amp; SiteCode<br />
wscript.echo vProperty.PropertyName<br />
wscript.echo "Current value: " &amp; vProperty.Value<br />
wscript.echo "Resetting value to: " &amp; enableDisableFlag</code></p>
<p><code>' modify the value<br />
vProperty.Value = enableDisableFlag</code></p>
<p><code>' Save the properties<br />
SCIComponent.Put_ , swbemContext<br />
End If<br />
Next<br />
Next</code></p>
<p><code>'Commit any changes to the actual site control file.<br />
Set InParams = swbemServices.Get("SMS_SiteControlFile").Methods_("CommitSCF").InParameters.SpawnInstance_<br />
InParams.SiteCode = siteCode<br />
swbemServices.ExecMethod "SMS_SiteControlFile", "CommitSCF", InParams, , swbemContext</code></p>
<p><code>' Release the copy of the site control file.<br />
swbemServices.Get("SMS_SiteControlFile").ReleaseSessionHandle swbemContext.Item("SessionHandle").Value<br />
End Sub </code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.techcolumnist.com/wp/2008/03/02/preparing-for-sccm-enabling-secure-key-exchange/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft System Center Acronyms</title>
		<link>http://www.techcolumnist.com/wp/2007/10/30/microsoft-system-center-acronyms/</link>
		<comments>http://www.techcolumnist.com/wp/2007/10/30/microsoft-system-center-acronyms/#comments</comments>
		<pubDate>Tue, 30 Oct 2007 23:30:12 +0000</pubDate>
		<dc:creator>Tom Lasswell</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ConfigMgr]]></category>

		<guid isPermaLink="false">http://www.techcolumnist.com/wp/2007/10/30/microsoft-system-center-acronyms/</guid>
		<description><![CDATA[Microsoft Operations Manager—MOM Microsoft System Center Capacity Planner—SCCP Microsoft System Center Configuration Manager—ConfigMgr Microsoft System Center Data Protection Manager—SCDPM Microsoft System Center Essentials—SCE Microsoft System Center Operations Manager—OpsMgr Microsoft System Center Reporting Manager—SCRM Microsoft System Center Virtual Machine Manager—SCVMM Microsoft Systems Management Server—SMS]]></description>
			<content:encoded><![CDATA[<ul>
<li>Microsoft Operations Manager—MOM</li>
<li>Microsoft System Center Capacity Planner—SCCP</li>
<li>Microsoft System Center Configuration Manager—ConfigMgr</li>
<li>Microsoft System Center Data Protection Manager—SCDPM</li>
<li>Microsoft System Center Essentials—SCE</li>
<li>Microsoft System Center Operations Manager—OpsMgr</li>
<li>Microsoft System Center Reporting Manager—SCRM</li>
<li>Microsoft System Center Virtual Machine Manager—SCVMM</li>
<li>Microsoft Systems Management Server—SMS</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.techcolumnist.com/wp/2007/10/30/microsoft-system-center-acronyms/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
