<?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>Torsten&#039;s Blog</title>
	<atom:link href="http://www.mssccmfaq.de/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mssccmfaq.de</link>
	<description></description>
	<lastBuildDate>Mon, 15 Apr 2013 08:15:30 +0000</lastBuildDate>
	<language>de-DE</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>UDA per vbs setzen</title>
		<link>http://www.mssccmfaq.de/2013/04/15/uda-per-vbs-setzen/</link>
		<comments>http://www.mssccmfaq.de/2013/04/15/uda-per-vbs-setzen/#comments</comments>
		<pubDate>Mon, 15 Apr 2013 08:07:44 +0000</pubDate>
		<dc:creator>Torsten Meringer</dc:creator>
				<category><![CDATA[ConfigMgr]]></category>
		<category><![CDATA[ConfigMgr 2012]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[SCCM]]></category>
		<category><![CDATA[Tipps&Tricks]]></category>

		<guid isPermaLink="false">http://www.mssccmfaq.de/?p=11073</guid>
		<description><![CDATA[Möchte man die Zuordnung eines Primary Users automatisieren (statt die Zuordnung in der Admin Konsole vorzunehmen (&#8220;Edit Primary Users&#8221;)), so kann dafür entweder das Powershell-cmdlet Add-CMUserAffinityToDevice oder folgende vbs-Variante verwendet werden:]]></description>
				<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Möchte man die Zuordnung eines Primary Users automatisieren (statt die Zuordnung in der Admin Konsole vorzunehmen (&#8220;Edit Primary Users&#8221;)), so kann dafür entweder das Powershell-cmdlet <a href="http://technet.microsoft.com/en-us/library/jj821904.aspx" target="_blank">Add-CMUserAffinityToDevice</a> oder folgende vbs-Variante verwendet werden:</p>
<pre class="brush: vb; title: ; notranslate">
 Set objSMS = GetObject(&quot;winmgmts://./root/sms/site_XYZ&quot;) ' Replace XYZ with the site code
 Set objUDA = objSMS.Get(&quot;SMS_UserMachineRelationShip&quot;)
 Set objRelShip = objUDA.Methods_(&quot;CreateRelationShip&quot;).inParameters.SpawnInstance_()
 objRelShip.MachineResourceID = &quot;16777235&quot; ' ResourceID
 objRelShip.SourceID = &quot;2&quot; ' AffinityType (2 = admin defined)
 objRelShip.TypeID = &quot;1&quot;
 objRelShip.UserAccountName = &quot;your-domain\your-account&quot; ' user account
 objSMS.ExecMethod &quot;SMS_UserMachineRelationShip&quot;, &quot;CreateRelationship&quot;, objRelShip
 </pre>
<div class="shr-publisher-11073"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2013%2F04%2F15%2Fuda-per-vbs-setzen%2F' data-shr_title='UDA+per+vbs+setzen'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2013%2F04%2F15%2Fuda-per-vbs-setzen%2F'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='false' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2013%2F04%2F15%2Fuda-per-vbs-setzen%2F' data-shr_title='UDA+per+vbs+setzen'></a><a class='shareaholic-tweetbutton' data-shr_count='none' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2013%2F04%2F15%2Fuda-per-vbs-setzen%2F' data-shr_title='UDA+per+vbs+setzen'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.mssccmfaq.de/2013/04/15/uda-per-vbs-setzen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Liste aller Applications und Deployment Types</title>
		<link>http://www.mssccmfaq.de/2013/04/05/liste-aller-applications-und-deployment-types/</link>
		<comments>http://www.mssccmfaq.de/2013/04/05/liste-aller-applications-und-deployment-types/#comments</comments>
		<pubDate>Fri, 05 Apr 2013 19:10:34 +0000</pubDate>
		<dc:creator>Torsten Meringer</dc:creator>
				<category><![CDATA[ConfigMgr]]></category>
		<category><![CDATA[ConfigMgr 2012]]></category>
		<category><![CDATA[SCCM]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://www.mssccmfaq.de/?p=11068</guid>
		<description><![CDATA[Folgende SQL-Abfrage listet alle Applications und deren Deployment Types:]]></description>
				<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Folgende SQL-Abfrage listet alle Applications und deren Deployment Types:</p>
<pre class="brush: sql; title: ; notranslate">
select
 LLAC.DisplayName as [Application],
 LDTC.DisplayName as [Deployment Type],
 LDTC.Technology
 from
 fn_ListLatestApplicationCIs(1033) LLAC
 left join fn_ListDeploymentTypeCIs(1033) LDTC
 on LLAC.ModelName = LDTC.AppModelName and LDTC.IsLatest = 1
 order by 1,2
</pre>
<div class="shr-publisher-11068"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2013%2F04%2F05%2Fliste-aller-applications-und-deployment-types%2F' data-shr_title='Liste+aller+Applications+und+Deployment+Types'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2013%2F04%2F05%2Fliste-aller-applications-und-deployment-types%2F'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='false' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2013%2F04%2F05%2Fliste-aller-applications-und-deployment-types%2F' data-shr_title='Liste+aller+Applications+und+Deployment+Types'></a><a class='shareaholic-tweetbutton' data-shr_count='none' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2013%2F04%2F05%2Fliste-aller-applications-und-deployment-types%2F' data-shr_title='Liste+aller+Applications+und+Deployment+Types'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.mssccmfaq.de/2013/04/05/liste-aller-applications-und-deployment-types/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Automatisierung vs. Performance</title>
		<link>http://www.mssccmfaq.de/2013/04/02/automatisierung-vs-performance/</link>
		<comments>http://www.mssccmfaq.de/2013/04/02/automatisierung-vs-performance/#comments</comments>
		<pubDate>Tue, 02 Apr 2013 18:07:33 +0000</pubDate>
		<dc:creator>Torsten Meringer</dc:creator>
				<category><![CDATA[ConfigMgr]]></category>
		<category><![CDATA[ConfigMgr 2012]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[SCCM]]></category>
		<category><![CDATA[Scripting]]></category>

		<guid isPermaLink="false">http://www.mssccmfaq.de/?p=11063</guid>
		<description><![CDATA[Seit dem Service Pack 1 für ConfigMgr gibt es ja Powershell CmdLets zur einfacheren Automatiserung vieler Vorgänge. Vor dieser Zeit blieb einem nur der Weg über WMI (vbs, Powershell usw). Doch nicht alles, was einfach ist (und funktioniert), ist auch performant. In kleinen Umgebungen, oder Umgebungen, bei denen der Automatisierungsgrad nicht sehr hoch ist, fällt [...]]]></description>
				<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Seit dem Service Pack 1 für ConfigMgr gibt es ja <a href="http://technet.microsoft.com/en-us/library/jj821831.aspx" target="_blank">Powershell CmdLets</a> zur einfacheren Automatiserung vieler Vorgänge. Vor dieser Zeit blieb einem nur der Weg über WMI (vbs, Powershell usw).<br />
Doch nicht alles, was einfach ist (und funktioniert), ist auch performant. In kleinen Umgebungen, oder Umgebungen, bei denen der Automatisierungsgrad nicht sehr hoch ist, fällt dies unter Umständen nicht einmal auf.<br />
Schon kleine Tricks können dabei einen massiven Performance-Gewinn bringen. Hier ein Powershell-Beispiel zum Thema Performance. Gegeben ist der Name einer Collection (&#8220;<em>Name_to_Search</em>&#8220;). Diese soll in SCCM 2012 gefunden werden, um damit dann weiterarbeiten zu können.<br />
Im Folgenden betrachte ich 4 unterschiedliche Möglichkeiten:</p>
<ol>
<li>Get-CMDeviceCollection <span style="color: #ff0000;"><strong>|</strong> where {$_.Name -eq &#8220;<em>Name_to_Search</em>&#8220;}</span></li>
<li>gwmi -Namespace root\sms\site_xyz -Class SMS_Collection <span style="color: #ff0000;"><strong>|</strong> where {$_.Name -eq &#8220;<em>Name_to_Search</em>&#8220;}</span></li>
<li>Get-CMDeviceCollection <span style="color: #00ff00;">-Name &#8220;<em>Name_to_Search</em>&#8220;</span></li>
<li>gwmi -Namespace root\sms\site_xyz -Query &#8220;SELECT * FROM SMS_Collection <span style="color: #00ff00;">where Name = &#8216;<em>Name_to_Search</em>&#8216;</span>&#8220;</li>
</ol>
<p>Hier jeweils die Dauer (gemessen mit <a href="http://technet.microsoft.com/en-us/library/hh849910.aspx" target="_blank">measure-command</a>) in Sekunden:</p>
<ol>
<li>472</li>
<li>13</li>
<li>0,2</li>
<li>0,2</li>
</ol>
<p>Man sieht, dass zwischen der kürzesten und längsten Laufzeit ein Faktor von ca. 2000 (!) liegt. Woran liegt das? Dazu sollte man sich betrachten, welche Abfragen (Queries) der SMS Provider jeweils ausführt:</p>
<ol>
<li>SELECT * FROM SMS_Collection WHERE CollectionType=2<br />
plus: GetObjectAsync : SMS_Collection.CollectionID=&#8221;XYZ00xxx&#8221; für alle CollectionIDs</li>
<li>select * from SMS_Collection</li>
<li>SELECT * FROM SMS_Collection WHERE Name=&#8217;<em>Name_To-Search</em>&#8216;  AND CollectionType=2</li>
<li>SELECT * FROM SMS_Collection where Name = &#8216;<em>Name_to_Search</em>&#8216;</li>
</ol>
<p>An den Beispielen 1) und 2) sieht man, dass erst <em>alle</em> Collection-Objekte verarbeitet werden müssen und man sich erst danach (mittels Pipe (|)) die wirklich benötigte herausfiltert.<br />
Eine Analogie aus der Praxis dazu: man bestellt in einem Restaurant erst einmal <em>alles</em> von der Speisekarte, lässt alles von der Bedienung bringen, der Tisch wird richtig voll gestapelt und man sucht sich erst dann sein Gericht aus. Funktioniert. Aber eben nicht wirklich optimal, denn (a) wird dies teuer (man zahlt alle Gerichte, obwohl man nur eines isst) und (b) dauert dies lange (da die Bedienung zig mal hin- und herlaufen muß, um alles auszuliefern). Der Rest wird weggeworfen.<br />
Die Methoden 3) und 4) sind deutlich schneller. Wieso? Weil man sich von Anfang an nur das aussucht, was man auch wirklich braucht. Am Beispiel des Restaurant-Besuches: man sucht sich <em>das </em>Gericht von der Speisekarte aus, welches man auch wirklich essen möchte. Entsprechend läuft die Bedienung nur einmal und man zahlt auch nur einmal.</p>
<p>Entsprechend gilt dies natürlich nicht nur für Collection, sondern auch alle anderen ConfigMgr-Objekte, die in großer Anzahl vorhanden sein können. Denkt also bei der Erstellung des nächsten Skripts kurz an das Beispiel von oben. <span style="color: #000000;"><del>Die Bedienung</del> </span>Der ConfigMgr-Provider und die Performance werden es euch danken!</p>
<div class="shr-publisher-11063"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2013%2F04%2F02%2Fautomatisierung-vs-performance%2F' data-shr_title='Automatisierung+vs.+Performance'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2013%2F04%2F02%2Fautomatisierung-vs-performance%2F'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='false' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2013%2F04%2F02%2Fautomatisierung-vs-performance%2F' data-shr_title='Automatisierung+vs.+Performance'></a><a class='shareaholic-tweetbutton' data-shr_count='none' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2013%2F04%2F02%2Fautomatisierung-vs-performance%2F' data-shr_title='Automatisierung+vs.+Performance'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.mssccmfaq.de/2013/04/02/automatisierung-vs-performance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SP1 Clients für non-Windows Betriebssysteme</title>
		<link>http://www.mssccmfaq.de/2013/04/02/sp1-clients-fur-non-windows-betriebssysteme/</link>
		<comments>http://www.mssccmfaq.de/2013/04/02/sp1-clients-fur-non-windows-betriebssysteme/#comments</comments>
		<pubDate>Tue, 02 Apr 2013 08:10:02 +0000</pubDate>
		<dc:creator>Torsten Meringer</dc:creator>
				<category><![CDATA[ConfigMgr]]></category>
		<category><![CDATA[ConfigMgr 2012]]></category>
		<category><![CDATA[SCCM]]></category>

		<guid isPermaLink="false">http://www.mssccmfaq.de/?p=11061</guid>
		<description><![CDATA[Unter http://www.microsoft.com/en-us/download/details.aspx?id=36212 kann man die Clients für non-Windows Betriebssysteme (MAC, RedHat, Solaris und Suse Linux Enterprise) herunterladen.]]></description>
				<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Unter <a href="http://www.microsoft.com/en-us/download/details.aspx?id=36212" target="_blank">http://www.microsoft.com/en-us/download/details.aspx?id=36212</a> kann man die Clients für non-Windows Betriebssysteme (MAC, RedHat, Solaris und Suse Linux Enterprise) herunterladen.</p>
<div class="shr-publisher-11061"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2013%2F04%2F02%2Fsp1-clients-fur-non-windows-betriebssysteme%2F' data-shr_title='SP1+Clients+f%C3%BCr+non-Windows+Betriebssysteme'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2013%2F04%2F02%2Fsp1-clients-fur-non-windows-betriebssysteme%2F'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='false' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2013%2F04%2F02%2Fsp1-clients-fur-non-windows-betriebssysteme%2F' data-shr_title='SP1+Clients+f%C3%BCr+non-Windows+Betriebssysteme'></a><a class='shareaholic-tweetbutton' data-shr_count='none' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2013%2F04%2F02%2Fsp1-clients-fur-non-windows-betriebssysteme%2F' data-shr_title='SP1+Clients+f%C3%BCr+non-Windows+Betriebssysteme'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.mssccmfaq.de/2013/04/02/sp1-clients-fur-non-windows-betriebssysteme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CU1 für SP1 verfügbar</title>
		<link>http://www.mssccmfaq.de/2013/03/25/cu1-fur-sp1-verfugbar/</link>
		<comments>http://www.mssccmfaq.de/2013/03/25/cu1-fur-sp1-verfugbar/#comments</comments>
		<pubDate>Mon, 25 Mar 2013 09:06:28 +0000</pubDate>
		<dc:creator>Torsten Meringer</dc:creator>
				<category><![CDATA[ConfigMgr]]></category>
		<category><![CDATA[ConfigMgr 2012]]></category>
		<category><![CDATA[Hotfix]]></category>
		<category><![CDATA[SCCM]]></category>

		<guid isPermaLink="false">http://www.mssccmfaq.de/?p=11057</guid>
		<description><![CDATA[Das CU1 (Cumulative Update) für SP1 ist verfügbar: http://support.microsoft.com/kb/2817245. Infos zu CUs und ConfigMgr 2012 hatte ich bereits in diesem Artikel zu Verfügung gestellt.]]></description>
				<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Das CU1 (Cumulative Update) für SP1 ist verfügbar: <a href="http://support.microsoft.com/kb/2817245" target="_blank">http://support.microsoft.com/kb/2817245</a>. Infos zu CUs und ConfigMgr 2012 hatte ich bereits in <a title="ConfigMgr 2012 CU1" href="http://www.mssccmfaq.de/2012/08/23/configmgr-2012-cu1/" target="_blank">diesem Artikel</a> zu Verfügung gestellt.</p>
<div class="shr-publisher-11057"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2013%2F03%2F25%2Fcu1-fur-sp1-verfugbar%2F' data-shr_title='CU1+f%C3%BCr+SP1+verf%C3%BCgbar'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2013%2F03%2F25%2Fcu1-fur-sp1-verfugbar%2F'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='false' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2013%2F03%2F25%2Fcu1-fur-sp1-verfugbar%2F' data-shr_title='CU1+f%C3%BCr+SP1+verf%C3%BCgbar'></a><a class='shareaholic-tweetbutton' data-shr_count='none' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2013%2F03%2F25%2Fcu1-fur-sp1-verfugbar%2F' data-shr_title='CU1+f%C3%BCr+SP1+verf%C3%BCgbar'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.mssccmfaq.de/2013/03/25/cu1-fur-sp1-verfugbar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fehlende Applications im Software Center</title>
		<link>http://www.mssccmfaq.de/2013/03/15/fehlende-applications-im-software-center/</link>
		<comments>http://www.mssccmfaq.de/2013/03/15/fehlende-applications-im-software-center/#comments</comments>
		<pubDate>Fri, 15 Mar 2013 09:31:23 +0000</pubDate>
		<dc:creator>Torsten Meringer</dc:creator>
				<category><![CDATA[ConfigMgr]]></category>
		<category><![CDATA[ConfigMgr 2012]]></category>
		<category><![CDATA[SCCM]]></category>
		<category><![CDATA[Tipps&Tricks]]></category>

		<guid isPermaLink="false">http://www.mssccmfaq.de/?p=11041</guid>
		<description><![CDATA[In System Center 2012 Configuration Manager (RTM und SP1) gibt es einen Bug, der verantwortlich dafür ist, daß im Software Center Applications nicht angezeigt werden, obwohl diese auf den Client zugewiesen sind. Die Chance, von diesem Bug betroffen zu sein, ist meiner Meinung nach sehr gering. Ich selbst habe dies bisher nur in einer Umgebung [...]]]></description>
				<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>In System Center 2012 Configuration Manager (RTM und SP1) gibt es einen Bug, der verantwortlich dafür ist, daß im Software Center Applications nicht angezeigt werden, obwohl diese auf den Client zugewiesen sind.</p>
<p>Die Chance, von diesem Bug betroffen zu sein, ist meiner Meinung nach sehr gering. Ich selbst habe dies bisher nur in einer Umgebung gesehen, auf der über 1000 Applications auf einen Client zugewiesen sind. Laut Aussage eines Support Engineers von Microsoft gibt es aber einen weiteren Fall, bei dem dies &#8220;schon&#8221; bei 200 Applications aufgetreten ist. Ob die Anzahl der Deployments pro Client aber überhaupt eine Rolle spielt ist mir nicht bekannt. Außerdem ergaben Analysen von Microsoft, daß nur &#8220;high performance Clients&#8221; betroffen sind.</p>
<p>Wie erkannt man den Bug?<br />
Direkt erst einmal gar nicht, d.h. man sieht client- und serverseitig erst einmal keine Fehlermeldung oder ähnliches. Ein Symptom ist, daß eine zugewiesene Applikation einfach nicht im Software Center angezeigt wird.</p>
<p>Für ein weiteres Troubleshooting kann das Deployment Monitoring Tool aus dem &#8220;<a href="http://www.microsoft.com/en-us/download/details.aspx?id=36213" target="_blank">System Center 2012 Configuration Manager Service Pack 1 Component Add-ons and Extensions</a>&#8221; verwendet werden. Dieses listet zwar alle Applications, bei einem Klick auf eine betroffene Application bekommt man aber die Fehlermeldung &#8220;DT cannot be empty&#8221; und das Tool stürzt ab:</p>
<p><img class="size-full wp-image-11043 alignnone" alt="DMT" src="http://www.mssccmfaq.de/wp-content/uploads/2013/03/DMT.png" width="164" height="144" /></p>
<p>Entsprechend war es naheliegend, einen Automatismus zu verwenden, der die betroffenen Clients ermitteln kann.<br />
Ich habe mich für eine Configuration Baseline mit einem Configuration Item (ehemals &#8220;DCM&#8221; / Desired Configuration Management) entschieden.<br />
Das CI verwendet dazu ein Powershell-Skript (Powershell Version 3.0 erforderlich!) um die fehlenden DTs (Deployment Types) zu ermitteln:</p>
<p><img class="size-full wp-image-11044 alignnone" alt="CI-01" src="http://www.mssccmfaq.de/wp-content/uploads/2013/03/CI-01.png" width="500" height="283" /></p>
<pre class="brush: powershell; title: ; notranslate">
$ErrorActionPreference = &quot;Stop&quot;

$PSvers = $host.Version
if($PSvers.Major -lt 3)
{
Write-Host &quot;Please install WMF 3.0 (kb2506143).&quot;
write-host &quot;Quit (255)&quot;
exit 255
}

[int]$countMissingDTs = 0

try
{
$Applications = gwmi -namespace root\ccm\clientsdk -query &quot;select * from ccm_application&quot;
}
catch
{
exit 1
}

$AppsTotal = $Applications.Length

foreach($App in $Applications)
{
$AppDT = [wmi] $App.__Path

if($AppDT.AppDTs.Name.Length -eq 0)
{
$countMissingDTs = $countMissingDTs + 1
}
}

$countMissingDTs
</pre>
<p>Ich bin kein Powershell-Profi und konnte das Skript auch nur begrenzt testen, entsprechend ist es nur als Anregung für weitere Verbesserungen zu sehen <img src='http://www.mssccmfaq.de/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /><br />
Die Idee ist aber, die fehlenden DeploymentTypes (DT) zu ermitteln, diese zu summieren und am Ende des Skripts auszugeben.<br />
Wenn kein DT fehlt, dann ist die Ausgabe 0 ($countMissingDTs) und der Rechner als &#8220;compliant&#8221; anzusehen. Ist die Ausgabe größer 0, so wird der Rechner als &#8220;non-compliant&#8221; angesehen:</p>
<p><img class="size-full wp-image-11045 alignnone" alt="CI-02" src="http://www.mssccmfaq.de/wp-content/uploads/2013/03/CI-02.png" width="457" height="468" /></p>
<p>Als Ergebnis erhält man dann entsprechend alle Clients, die von dem Problem betroffen bzw nicht betroffen sind:</p>
<p><img class="size-full wp-image-11046 alignnone" alt="CI-Monitoring-01" src="http://www.mssccmfaq.de/wp-content/uploads/2013/03/CI-Monitoring-01.png" width="768" height="176" /></p>
<p>Bei den betroffenen Clients entsprechend dann sogar mit Ausgabe der Anzahl der fehlenden Applications (in diesem Beispiel 5):</p>
<p><img class="size-full wp-image-11047 alignnone" alt="CI-Monitoring-02" src="http://www.mssccmfaq.de/wp-content/uploads/2013/03/CI-Monitoring-02.png" width="380" height="88" /></p>
<p>Als &#8220;Lösung&#8221; für das Problem gibt es ein vbs-Skript (Quelle: Microsoft Support), welches auf den betroffenen Clients auszuführen ist.<br />
Hier ist ebenfalls ein Automatismus denkbar. Die betroffenen Clients wurden per DCM/Compliance identifiziert, können entsprechend in einer Collection gruppiert und das Skript als Package/Program advertised werden.</p>
<pre class="brush: vb; title: ; notranslate">
'Trigger DCM Schedules for Applications
 Dim objWMI_MachinePolicy
 Dim query, AppCIAssignments
 'Connect to WMI
 Set objWMI_MachinePolicy = GetObject(&quot;wInmgmts:\\.\root\ccm\Policy\Machine&quot;)
 query=(&quot;select * from CCM_ApplicationCIAssignment&quot;)
 Set AppCIAssignments=objWMI_MachinePolicy.ExecQuery(query)
 For Each AppCIAssignment in AppCIAssignments
 'MsgBox &quot;Starting schedule for &quot; &amp; AppCIAssignment.AssignmentID
 RunSchedule(AppCIAssignment.AssignmentId)
 WScript.Sleep 500
 Next
 Set objWMI_MachinePolicy=Nothing
 '--------------------
 'Function RunSchedule
 '
 'Purpose: Connects to WMI and triggers the supplied schedule.
 '
 '--------------------
 Function RunSchedule (ScheduleMessageId)
 Dim objWMI_RunSchedule
 'Connect to WMI
 Set objWMIService = GetObject(&quot;winmgmts:\\.\root\ccm:SMS_Client&quot;)
 objWMIService.TriggerSchedule(ScheduleMessageId)
 Set objWMIService=Nothing
 End Function
</pre>
<p>(Hinweis: dieser Blog-Artikel stellt keine fertige End-to-End-Lösung dar. Es soll nur prinzipiell gezeigt werden, wie ein ConfigMgr-Problem identifiziert und gelöst werden kann. Skript-Anpassungen können pro Umgebung ggfs. nötig sein.)</p>
<div class="shr-publisher-11041"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2013%2F03%2F15%2Ffehlende-applications-im-software-center%2F' data-shr_title='Fehlende+Applications+im+Software+Center'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2013%2F03%2F15%2Ffehlende-applications-im-software-center%2F'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='false' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2013%2F03%2F15%2Ffehlende-applications-im-software-center%2F' data-shr_title='Fehlende+Applications+im+Software+Center'></a><a class='shareaholic-tweetbutton' data-shr_count='none' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2013%2F03%2F15%2Ffehlende-applications-im-software-center%2F' data-shr_title='Fehlende+Applications+im+Software+Center'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.mssccmfaq.de/2013/03/15/fehlende-applications-im-software-center/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Verbindung zu einer Windows Internal Database (WID) per SQL Management Studio</title>
		<link>http://www.mssccmfaq.de/2013/03/12/verbindung-zu-einer-windows-internal-database-wid-per-sql-management-studio/</link>
		<comments>http://www.mssccmfaq.de/2013/03/12/verbindung-zu-einer-windows-internal-database-wid-per-sql-management-studio/#comments</comments>
		<pubDate>Tue, 12 Mar 2013 21:25:06 +0000</pubDate>
		<dc:creator>Torsten Meringer</dc:creator>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[Tipps&Tricks]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[WSUS]]></category>

		<guid isPermaLink="false">http://www.mssccmfaq.de/?p=11035</guid>
		<description><![CDATA[Möchte man sich zu einer Windows Internal Database (WID) verbinden (wie sie z.B. von WSUS verwendet wird, wenn keine &#8220;echte&#8221; SQL-Datenbank verwendet wird), so ist das mit dem SQL Management Studio möglich. Man muß sich nur mit dem SQL Management Studio auf die entsprechende WID-Instanz verbinden: \\.\pipe\mssql$Microsoft##SSEE\sql\query \\.\pipe\Microsoft##WID\tsql\query (ab Server 2012) &#160;]]></description>
				<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Möchte man sich zu einer Windows Internal Database (WID) verbinden (wie sie z.B. von WSUS verwendet wird, wenn keine &#8220;echte&#8221; SQL-Datenbank verwendet wird), so ist das mit dem SQL Management Studio möglich. Man muß sich nur mit dem SQL Management Studio auf die entsprechende WID-Instanz verbinden:</p>
<ul>
<li><a href="file://\\.\pipe\mssql$Microsoft##SSEE\sql\query">\\.\pipe\mssql$Microsoft##SSEE\sql\query</a></li>
<li><a href="file://\\.\pipe\Microsoft##WID\tsql\query">\\.\pipe\Microsoft##WID\tsql\query</a> (ab Server 2012)</li>
</ul>
<p><img class="size-full wp-image-11036 alignnone" alt="TSQL WID" src="http://www.mssccmfaq.de/wp-content/uploads/2013/03/TSQL-WID.jpg" width="258" height="179" /></p>
<p>&nbsp;</p>
<div class="shr-publisher-11035"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2013%2F03%2F12%2Fverbindung-zu-einer-windows-internal-database-wid-per-sql-management-studio%2F' data-shr_title='Verbindung+zu+einer+Windows+Internal+Database+%28WID%29+per+SQL+Management+Studio'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2013%2F03%2F12%2Fverbindung-zu-einer-windows-internal-database-wid-per-sql-management-studio%2F'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='false' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2013%2F03%2F12%2Fverbindung-zu-einer-windows-internal-database-wid-per-sql-management-studio%2F' data-shr_title='Verbindung+zu+einer+Windows+Internal+Database+%28WID%29+per+SQL+Management+Studio'></a><a class='shareaholic-tweetbutton' data-shr_count='none' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2013%2F03%2F12%2Fverbindung-zu-einer-windows-internal-database-wid-per-sql-management-studio%2F' data-shr_title='Verbindung+zu+einer+Windows+Internal+Database+%28WID%29+per+SQL+Management+Studio'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.mssccmfaq.de/2013/03/12/verbindung-zu-einer-windows-internal-database-wid-per-sql-management-studio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WMI crash auf x86 Servern 2003 / CCM_RecentlyUsedApps</title>
		<link>http://www.mssccmfaq.de/2013/03/07/wmi-crash-auf-x86-servern-2003-ccm_recentlyusedapps/</link>
		<comments>http://www.mssccmfaq.de/2013/03/07/wmi-crash-auf-x86-servern-2003-ccm_recentlyusedapps/#comments</comments>
		<pubDate>Thu, 07 Mar 2013 07:45:09 +0000</pubDate>
		<dc:creator>Torsten Meringer</dc:creator>
				<category><![CDATA[ConfigMgr]]></category>
		<category><![CDATA[ConfigMgr 2012]]></category>
		<category><![CDATA[SCCM]]></category>
		<category><![CDATA[Tipps&Tricks]]></category>
		<category><![CDATA[Troubleshooting]]></category>

		<guid isPermaLink="false">http://www.mssccmfaq.de/?p=11033</guid>
		<description><![CDATA[Mit ConfigMgr 2012 kann es bei der Hardware Inventur auf Windows Server 2003 (x86) Clients dazu kommen, daß die WMI abstürzt (&#8220;Faulting application wmiprvse.exe&#8221;). Ein Bug bei der Inventarisierung der Klasse CCM_RecentlyUsedApps ist dafür verantwortlich. Workaround: Deaktivierung dieser HINV-Klasse auf den betroffenen Clients. Das Problem ist bei Microsoft bekannt und wird in CU1 für SP1 [...]]]></description>
				<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Mit ConfigMgr 2012 kann es bei der Hardware Inventur auf Windows Server 2003 (x86) Clients dazu kommen, daß die WMI abstürzt (&#8220;Faulting application wmiprvse.exe&#8221;). Ein Bug bei der Inventarisierung der Klasse CCM_RecentlyUsedApps ist dafür verantwortlich.<br />
Workaround: Deaktivierung dieser HINV-Klasse auf den betroffenen Clients.<br />
Das Problem ist bei Microsoft bekannt und wird in CU1 für SP1 einfließen. (Erscheinungsdatum noch nicht bekannt)</p>
<div class="shr-publisher-11033"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2013%2F03%2F07%2Fwmi-crash-auf-x86-servern-2003-ccm_recentlyusedapps%2F' data-shr_title='WMI+crash+auf+x86+Servern+2003+%2F+CCM_RecentlyUsedApps'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2013%2F03%2F07%2Fwmi-crash-auf-x86-servern-2003-ccm_recentlyusedapps%2F'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='false' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2013%2F03%2F07%2Fwmi-crash-auf-x86-servern-2003-ccm_recentlyusedapps%2F' data-shr_title='WMI+crash+auf+x86+Servern+2003+%2F+CCM_RecentlyUsedApps'></a><a class='shareaholic-tweetbutton' data-shr_count='none' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2013%2F03%2F07%2Fwmi-crash-auf-x86-servern-2003-ccm_recentlyusedapps%2F' data-shr_title='WMI+crash+auf+x86+Servern+2003+%2F+CCM_RecentlyUsedApps'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.mssccmfaq.de/2013/03/07/wmi-crash-auf-x86-servern-2003-ccm_recentlyusedapps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Central Administration Site (CAS) &#8211; ja oder nein?</title>
		<link>http://www.mssccmfaq.de/2013/03/04/central-administration-site-cas-ja-oder-nein/</link>
		<comments>http://www.mssccmfaq.de/2013/03/04/central-administration-site-cas-ja-oder-nein/#comments</comments>
		<pubDate>Mon, 04 Mar 2013 18:46:49 +0000</pubDate>
		<dc:creator>Torsten Meringer</dc:creator>
				<category><![CDATA[ConfigMgr]]></category>
		<category><![CDATA[ConfigMgr 2012]]></category>
		<category><![CDATA[SCCM]]></category>
		<category><![CDATA[Tipps&Tricks]]></category>

		<guid isPermaLink="false">http://www.mssccmfaq.de/?p=11029</guid>
		<description><![CDATA[In letzter Zeit fällt mir in Blogs, Foren, etc. auf, daß in vielen ConfigMgr 2012-Infrastrukturen eine CAS (Central Administration Site) zum Einsatz kommt. In vielen Fällen wäre dies aber gar nicht nötig gewesen. Eine der ConfigMgr 2012 Features &#8211; Vereinfachung der Hierarchie und entsprechend eine Reduktion der Anzahl der Site Systeme &#8211; ist damit leider [...]]]></description>
				<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>In letzter Zeit fällt mir in Blogs, Foren, etc. auf, daß in vielen ConfigMgr 2012-Infrastrukturen eine CAS (Central Administration Site) zum Einsatz kommt. In vielen Fällen wäre dies aber gar nicht nötig gewesen. Eine der ConfigMgr 2012 Features &#8211; Vereinfachung der Hierarchie und entsprechend eine Reduktion der Anzahl der Site Systeme &#8211; ist damit leider nicht berücksichtigt worden.<br />
Oftmals wird / wurde eine CAS installiert, weil man ja bei SCCM 2007 schon eine Central Site hatte. Diese Schlußfolgerung ist in den meisten Fällen aber falsch. Central Adminsitration Site (CM12) <span style="color: #ff0000;">!=</span> Central Site (CM07).</p>
<p>Insgesamt gibt es nur wenige Gründe, wirklich eine CAS einzusetzen. Der wichtigste ist die Gesamtanzahl zu verwaltender Clients:<br />
Eine standalone Primary Site kann bis zu 100.000 Clients verwalten. Eine CAS wird erst dann zwingend nötig, wenn man diese Anzahl überschreitet.<br />
Oftmals wurde auch eine CAS nur &#8220;für den Fall der Fälle&#8221; installiert, falls man doch irgendwann, vielleicht einmal eine CAS brauchen sollte (Expansion der Firma, Zukauf einer weiteren, etc). Spätestens mit Service Pack (SP) 1 ist auch dieses Argument entkräftet. Bei RTM war es nicht möglich, eine bestehende Primary zu einer CAS hinzuzufügen. Mit SP1 hingegen kann eine bestehende Primary zu einer neuen CAS hinzugefügt werden.<br />
Ansonsten sollte man sich gut überlegen, ob man nicht auch mit einer Standalone Primary Site auskommt. Neue Funktionen wie Secondary Sites (die bis zu 5.000 Clients unterstützen), sender-enabled Distribution Points, Pull-DPs (SP1) oder Branch Cache bieten viele interessante Möglichkeiten, die bei der Versorgung von entfernten Standorten unterstützen. Man spart sich dadurch Hardware, Kosten und Komplexität (SQL-Replikation / DRS (Data Replication Service).</p>
<p>Bei der Planung einer Hierarchie spielen sehr viele Faktoren eine Rolle, die natürlich alle untersucht werden müssen und den Rahmen eines einzigen Blog-Artikels sprengen. Dieser Artikel soll einfach als Anstoß dienen, den Einsatz einer CAS kritisch zu hinterfragen. Keep it simple!</p>
<div class="shr-publisher-11029"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2013%2F03%2F04%2Fcentral-administration-site-cas-ja-oder-nein%2F' data-shr_title='Central+Administration+Site+%28CAS%29+-+ja+oder+nein%3F'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2013%2F03%2F04%2Fcentral-administration-site-cas-ja-oder-nein%2F'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='false' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2013%2F03%2F04%2Fcentral-administration-site-cas-ja-oder-nein%2F' data-shr_title='Central+Administration+Site+%28CAS%29+-+ja+oder+nein%3F'></a><a class='shareaholic-tweetbutton' data-shr_count='none' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2013%2F03%2F04%2Fcentral-administration-site-cas-ja-oder-nein%2F' data-shr_title='Central+Administration+Site+%28CAS%29+-+ja+oder+nein%3F'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.mssccmfaq.de/2013/03/04/central-administration-site-cas-ja-oder-nein/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>ConfigMgr SP1 Powershell</title>
		<link>http://www.mssccmfaq.de/2013/02/26/configmgr-sp1-powershell/</link>
		<comments>http://www.mssccmfaq.de/2013/02/26/configmgr-sp1-powershell/#comments</comments>
		<pubDate>Tue, 26 Feb 2013 16:58:29 +0000</pubDate>
		<dc:creator>Torsten Meringer</dc:creator>
				<category><![CDATA[ConfigMgr]]></category>
		<category><![CDATA[ConfigMgr 2012]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[SCCM]]></category>
		<category><![CDATA[Scripting]]></category>

		<guid isPermaLink="false">http://www.mssccmfaq.de/?p=11022</guid>
		<description><![CDATA[Mit dem Service Pack 1 (SP1) für System Center 2012 Microsoft Configuration (SCCM / ConfigMgr) kommen endlich auch Powershell-cmdlets zur einfacheren Automatisierung. Doch wo sind diese cmdlets zu finden? Wo fängt man an? Möglichkeit 1: starten von Powershell durch die ConfigMgr AdminConsole (&#8220;Connect via Windows PowerShell&#8221;): Danach öffnet sich PowerShell und man kann sofort cmdlets [...]]]></description>
				<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Mit dem Service Pack 1 (SP1) für System Center 2012 Microsoft Configuration (SCCM / ConfigMgr) kommen endlich auch Powershell-cmdlets zur einfacheren Automatisierung.<br />
Doch wo sind diese cmdlets zu finden? Wo fängt man an?</p>
<p><strong>Möglichkeit 1</strong>: starten von Powershell durch die ConfigMgr AdminConsole (&#8220;Connect via Windows PowerShell&#8221;):</p>
<p><img class="size-full wp-image-11023 alignnone" alt="SP1-PoSh-01" src="http://www.mssccmfaq.de/wp-content/uploads/2013/02/SP1-PoSh-01.png" width="559" height="182" /></p>
<p>Danach öffnet sich PowerShell und man kann sofort cmdlets ausführen:</p>
<p><img class="size-full wp-image-11024 alignnone" alt="SP1-PoSh-02" src="http://www.mssccmfaq.de/wp-content/uploads/2013/02/SP1-PoSh-02.png" width="378" height="102" /><br />
<strong>Möglickkeit 2</strong>:<br />
Starten der PowerShell ISE (x86!)<br />
Importieren des ConfigMgr-Moduls (ConfigurationManager.psd1 im \bin-Verzeichnis der AdminConsole) und<br />
Verbinden zur Site (cd &#8220;&lt;<em>Sitecode</em>&gt;:&#8221;):</p>
<p><img class="size-full wp-image-11025 alignnone" alt="SP1-PoSh-03" src="http://www.mssccmfaq.de/wp-content/uploads/2013/02/SP1-PoSh-03.png" width="704" height="247" /></p>
<p>Eine Liste aller verfügbaren cmdlets findet man online unter <a href="http://technet.microsoft.com/en-us/library/jj821831.aspx" target="_blank">http://technet.microsoft.com/en-us/library/jj821831.aspx</a> oder per Get-Command -Module ConfigurationManager.</p>
<div class="shr-publisher-11022"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2013%2F02%2F26%2Fconfigmgr-sp1-powershell%2F' data-shr_title='ConfigMgr+SP1+Powershell'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2013%2F02%2F26%2Fconfigmgr-sp1-powershell%2F'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='false' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2013%2F02%2F26%2Fconfigmgr-sp1-powershell%2F' data-shr_title='ConfigMgr+SP1+Powershell'></a><a class='shareaholic-tweetbutton' data-shr_count='none' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2013%2F02%2F26%2Fconfigmgr-sp1-powershell%2F' data-shr_title='ConfigMgr+SP1+Powershell'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.mssccmfaq.de/2013/02/26/configmgr-sp1-powershell/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
