<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://myitforum.com/cs2/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Shaun Cassells at MyITForum.com - All Comments</title><link>http://myitforum.com/cs2/blogs/scassells/default.aspx</link><description>SMS 2003 and ConfigMgr 2007, PowerShell, Scripting, Finance, Fitness and Fun</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 SP2 (Build: 31113.47)</generator><item><title>re: Sci-Fi Reading List</title><link>http://myitforum.com/cs2/blogs/scassells/archive/2011/11/30/sci-fi-reading-list.aspx#160307</link><pubDate>Wed, 30 Nov 2011 15:52:16 GMT</pubDate><guid isPermaLink="false">8e8f7986-475c-475d-bdc9-a1b3a63b955b:160307</guid><dc:creator>scassells</dc:creator><description>&lt;p&gt;hahaha, Philip K. D I C K... his last name is slang and blocked by the blog software :)&lt;/p&gt;
&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=160307" width="1" height="1"&gt;</description></item><item><title>re: Personal Goal: Fitness 2011 challenge – 70 runs in 70 days</title><link>http://myitforum.com/cs2/blogs/scassells/archive/2011/03/03/personal-goal-fitness-2011-challenge-70-runs-in-70-days.aspx#156487</link><pubDate>Fri, 08 Apr 2011 19:27:38 GMT</pubDate><guid isPermaLink="false">8e8f7986-475c-475d-bdc9-a1b3a63b955b:156487</guid><dc:creator>scassells</dc:creator><description>&lt;p&gt;Just to do a little update. &amp;nbsp;42 days done.&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.mapmyrun.com/profile/26465/"&gt;www.mapmyrun.com/.../26465&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=156487" width="1" height="1"&gt;</description></item><item><title>re: SMS 2003 Client Health Startup Script v4.19</title><link>http://myitforum.com/cs2/blogs/scassells/archive/2009/04/14/sms-2003-client-health-startup-script-v4-19.aspx#144308</link><pubDate>Thu, 14 Jan 2010 06:20:24 GMT</pubDate><guid isPermaLink="false">8e8f7986-475c-475d-bdc9-a1b3a63b955b:144308</guid><dc:creator>Shane</dc:creator><description>&lt;p&gt;The GetOS function doesn&amp;#39;t seem 100% correct as suggested by someone else with the problem with 64-bit XP.&lt;/p&gt;
&lt;p&gt;Is the first few lines correct?&lt;/p&gt;
&lt;p&gt;	sOStype = WSHShell.RegRead(&amp;quot;HKLM\SYSTEM\CurrentControlSet\Control\ProductOptions\ProductType&amp;quot;)&lt;/p&gt;
&lt;p&gt;	sOSversion = WSHShell.RegRead(&amp;quot;HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\CurrentVersion&amp;quot;)&lt;/p&gt;
&lt;p&gt;	sOSType = Trim(sOSversion)&lt;/p&gt;
&lt;p&gt;You get the ProductType, the CurrentVersion, and then set the ProductType to equal the trimmed value of CurrentVersion.&lt;/p&gt;
&lt;p&gt;Perhaps the following would work better and more correctly???? Disclaimer: I&amp;#39;m not a programmer.&lt;/p&gt;
&lt;p&gt;Sub GetOs()&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;On ERROR Resume Next&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;COLLECTMSG &amp;quot;GetOs&amp;quot;,&amp;quot;&amp;gt;&amp;quot;, Null&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Err.clear&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sOStype = WSHShell.RegRead(&amp;quot;HKLM\SYSTEM\CurrentControlSet\Control\ProductOptions\ProductType&amp;quot;)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sOSversion = WSHShell.RegRead(&amp;quot;HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\CurrentVersion&amp;quot;)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sOSversion = Trim(sOSversion) &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;If Err &amp;lt;&amp;gt; 0 Then&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;CLIENTSTATE = CLIENTSTATE + 1&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;GetOsVersionNumber = &amp;quot;Unknown NTx&amp;quot; ‘Where else is GetOSVersionNumber used?&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;#39; Could not determine NT version&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Exit Sub &amp;#39; &amp;gt;&amp;gt;&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;End If&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Select Case sOSversion&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Case 6.1&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;If sOStype=&amp;quot;WinNT&amp;quot; Then Os = &amp;quot;Windows 7&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;If sOStype=&amp;quot;WinNT&amp;quot; Then IsOS =&amp;quot;workstation&amp;quot; Else IsOS =&amp;quot;server&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Exit Sub&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Case 6&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;If sOStype=&amp;quot;WinNT&amp;quot; Then Os = &amp;quot;Vista&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;If sOStype=&amp;quot;WinNT&amp;quot; Then IsOS =&amp;quot;workstation&amp;quot; Else IsOS =&amp;quot;server&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Exit Sub&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Case 5&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;If sOStype=&amp;quot;WinNT&amp;quot; Then Os= &amp;quot;2000&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;If sOStype=&amp;quot;WinNT&amp;quot; Then IsOS =&amp;quot;workstation&amp;quot; Else IsOS =&amp;quot;server&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Exit Sub&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Case 5.1&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;If sOStype=&amp;quot;WinNT&amp;quot; Then Os = &amp;quot;XP&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;If sOStype=&amp;quot;WinNT&amp;quot; Then IsOS =&amp;quot;workstation&amp;quot; Else IsOS =&amp;quot;server&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Exit Sub&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Case 5.2&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;If sOStype=&amp;quot;WinNT&amp;quot; Then Os = &amp;quot;XPx64&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;If sOStype=&amp;quot;WinNT&amp;quot; Then IsOS =&amp;quot;workstation&amp;quot; Else IsOS =&amp;quot;server&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Exit Sub&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;End Select&lt;/p&gt;
&lt;p&gt;End Sub&lt;/p&gt;
&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=144308" width="1" height="1"&gt;</description></item><item><title>re: ERROR: Cannot find path for destination inbox SMS_AMT_PROXY_COMPONENT on server REGISTRY</title><link>http://myitforum.com/cs2/blogs/scassells/archive/2009/07/20/error-cannot-find-path-for-destination-inbox-sms-amt-proxy-component-on-server-registry.aspx#144193</link><pubDate>Mon, 11 Jan 2010 16:19:14 GMT</pubDate><guid isPermaLink="false">8e8f7986-475c-475d-bdc9-a1b3a63b955b:144193</guid><dc:creator>mhughes2</dc:creator><description>&lt;p&gt;Found it. On 64bit Server 2008, it&amp;#39;s located under HKLM\Software\Wow6432Node\Microsoft\SMS\&lt;/p&gt;
&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=144193" width="1" height="1"&gt;</description></item><item><title>re: ERROR: Cannot find path for destination inbox SMS_AMT_PROXY_COMPONENT on server REGISTRY</title><link>http://myitforum.com/cs2/blogs/scassells/archive/2009/07/20/error-cannot-find-path-for-destination-inbox-sms-amt-proxy-component-on-server-registry.aspx#144192</link><pubDate>Mon, 11 Jan 2010 16:00:19 GMT</pubDate><guid isPermaLink="false">8e8f7986-475c-475d-bdc9-a1b3a63b955b:144192</guid><dc:creator>mhughes2</dc:creator><description>&lt;p&gt;I don&amp;#39;t even have the HKLM\SOFTWARE\Microsoft\SMS path in the registry of a Server 2008 secondary site server. I&amp;#39;m assuming that&amp;#39;s bad. Can I simply copy that portion over (after making edits to the file paths referenced throughout) from a server that is functioning ok? Will it matter that the other functioning server is a 2003 server?&lt;/p&gt;
&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=144192" width="1" height="1"&gt;</description></item><item><title>re: SMS 2003 Client Health Startup Script v4.19</title><link>http://myitforum.com/cs2/blogs/scassells/archive/2009/04/14/sms-2003-client-health-startup-script-v4-19.aspx#143189</link><pubDate>Mon, 23 Nov 2009 23:22:21 GMT</pubDate><guid isPermaLink="false">8e8f7986-475c-475d-bdc9-a1b3a63b955b:143189</guid><dc:creator>jdavis375</dc:creator><description>&lt;p&gt;I noted in your script (v. 4.19) you set the initial value of the &amp;quot;CLIENTSTATE&amp;quot; variable to 0. In the original client health script from DudeWorks (v 4.11), the initial value of that variable is 1.&lt;/p&gt;
&lt;p&gt;Which should this be? It makes sense that it should be &amp;quot;0&amp;quot;, but I wanted to make sure.&lt;/p&gt;
&lt;p&gt;Also, in use at another client, a friend of mine noted that there is an error on line 559...there is an extraneous &amp;quot;End if&amp;quot; that was causing the script to error out.&lt;/p&gt;
&lt;p&gt;thanks again for your work on the script. It really is fantastic.&lt;/p&gt;
&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=143189" width="1" height="1"&gt;</description></item><item><title>re: SMS 2003 Client Health Startup Script v4.19</title><link>http://myitforum.com/cs2/blogs/scassells/archive/2009/04/14/sms-2003-client-health-startup-script-v4-19.aspx#142211</link><pubDate>Mon, 19 Oct 2009 09:28:51 GMT</pubDate><guid isPermaLink="false">8e8f7986-475c-475d-bdc9-a1b3a63b955b:142211</guid><dc:creator>speedyb</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Found a little problem in the script. XP 64Bits is not supported and the select case was not fully functional.&lt;/p&gt;
&lt;p&gt;This is the new select for the getOS function&lt;/p&gt;
&lt;p&gt;=====&lt;/p&gt;
&lt;p&gt;	Select Case sOSversion&lt;/p&gt;
&lt;p&gt;		Case &amp;quot;6.1&amp;quot;&lt;/p&gt;
&lt;p&gt;			Os = &amp;quot;Windows 7&amp;quot;&lt;/p&gt;
&lt;p&gt;			isOS=&amp;quot;workstation&amp;quot;&lt;/p&gt;
&lt;p&gt;			Exit Sub&lt;/p&gt;
&lt;p&gt;		Case &amp;quot;6&amp;quot;&lt;/p&gt;
&lt;p&gt;			Os = &amp;quot;Vista&amp;quot;&lt;/p&gt;
&lt;p&gt;			isOS=&amp;quot;workstation&amp;quot;&lt;/p&gt;
&lt;p&gt;			Exit Sub&lt;/p&gt;
&lt;p&gt;		Case &amp;quot;5&amp;quot;&lt;/p&gt;
&lt;p&gt;			OS= &amp;quot;2000&amp;quot;&lt;/p&gt;
&lt;p&gt;			isOS=&amp;quot;workstation&amp;quot;&lt;/p&gt;
&lt;p&gt;		Case &amp;quot;5.1&amp;quot;&lt;/p&gt;
&lt;p&gt;			Os = &amp;quot;XP&amp;quot;&lt;/p&gt;
&lt;p&gt;			isOS=&amp;quot;workstation&amp;quot;&lt;/p&gt;
&lt;p&gt;			Exit Sub&lt;/p&gt;
&lt;p&gt;		Case &amp;quot;5.2&amp;quot;&lt;/p&gt;
&lt;p&gt;			if sOSProductName = &amp;quot;Microsoft Windows XP&amp;quot; then&lt;/p&gt;
&lt;p&gt;				Os = &amp;quot;XP 64 Bits&amp;quot;&lt;/p&gt;
&lt;p&gt;				isOS=&amp;quot;workstation&amp;quot;&lt;/p&gt;
&lt;p&gt;				Exit Sub&lt;/p&gt;
&lt;p&gt;			else&lt;/p&gt;
&lt;p&gt;				Os = &amp;quot;2003&amp;quot;&lt;/p&gt;
&lt;p&gt;				isOS=&amp;quot;server&amp;quot;&lt;/p&gt;
&lt;p&gt;				WSHShell.LogEvent EVENT_INFORMATION, &amp;quot;SMS STARTUP SCRIPT - Do not run on servers@ &amp;quot; &amp;amp; Now&lt;/p&gt;
&lt;p&gt;				COLLECTMSG &amp;quot;GetOs&amp;quot;,&amp;quot;ERROR&amp;quot;, &amp;quot;Server OS Quiting&amp;quot;&lt;/p&gt;
&lt;p&gt;				CleanUp(err)&lt;/p&gt;
&lt;p&gt;				Exit Sub&lt;/p&gt;
&lt;p&gt;			End If&lt;/p&gt;
&lt;p&gt;	End Select&lt;/p&gt;
&lt;p&gt;=====&lt;/p&gt;
&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=142211" width="1" height="1"&gt;</description></item><item><title>re: The Case of the Missing Advertisement and a Restart</title><link>http://myitforum.com/cs2/blogs/scassells/archive/2009/07/16/the-case-of-the-missing-advertisement-and-a-restart.aspx#141881</link><pubDate>Wed, 07 Oct 2009 16:58:39 GMT</pubDate><guid isPermaLink="false">8e8f7986-475c-475d-bdc9-a1b3a63b955b:141881</guid><dc:creator>jnelson</dc:creator><description>&lt;p&gt;BTW, I just wrote a query that will use some m@d bitwise SQL to enumerate all of the ProgramFlags on the fly instead of having to use CALC. &amp;nbsp;I wrote it with v_Program in mind, but it would appear that v_AdvertisementInfo.ProgramFlags points to the same flags. If you&amp;#39;re interested, it&amp;#39;s here -&amp;gt; &lt;a rel="nofollow" target="_new" href="http://myitforum.com/cs2/blogs/jnelson/archive/2009/10/06/141863.aspx"&gt;myitforum.com/.../141863.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Number2 (John Nelson)&lt;/p&gt;
&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=141881" width="1" height="1"&gt;</description></item><item><title>re: SMS 2003 Client Health Startup Script v4.19</title><link>http://myitforum.com/cs2/blogs/scassells/archive/2009/04/14/sms-2003-client-health-startup-script-v4-19.aspx#138656</link><pubDate>Fri, 19 Jun 2009 07:49:37 GMT</pubDate><guid isPermaLink="false">8e8f7986-475c-475d-bdc9-a1b3a63b955b:138656</guid><dc:creator>speedyb</dc:creator><description>&lt;p&gt;Did some more hobbying arround and came up with the following&lt;/p&gt;
&lt;p&gt;Made changes are:&lt;/p&gt;
&lt;p&gt;If WKS_ASSIGNSITECODE is not equal to AUTO have the sitecode set in the client to the requested&lt;/p&gt;
&lt;p&gt;If the installation is still ongoing in a different site ( PXEInstallationSite ) the reassignment will not occur and the script will exit.&lt;/p&gt;
&lt;p&gt;' =============================================================================&lt;/p&gt;
&lt;p&gt;' Method: &amp;nbsp; &amp;nbsp; &amp;nbsp; CHK_ASSIGNMENT&lt;/p&gt;
&lt;p&gt;' Description: &amp;nbsp;Checks Client Site Assignment&lt;/p&gt;
&lt;p&gt;Dim PXEInstallationSite = &amp;quot;S01&amp;quot;&lt;/p&gt;
&lt;p&gt;' =============================================================================&lt;/p&gt;
&lt;p&gt;Sub CHK_ASSIGNMENT&lt;/p&gt;
&lt;p&gt;	On ERROR Resume Next&lt;/p&gt;
&lt;p&gt;		Err.clear&lt;/p&gt;
&lt;p&gt;	COLLECTMSG &amp;quot;CHK_ASSIGNMENT&amp;quot;,&amp;quot;&amp;gt;&amp;quot;,NULL&lt;/p&gt;
&lt;p&gt;	Dim oSMSClient&lt;/p&gt;
&lt;p&gt;	Set oSMSClient = CreateObject (&amp;quot;Microsoft.SMS.Client&amp;quot;)&lt;/p&gt;
&lt;p&gt;	If err.Number&amp;lt;&amp;gt;0 Then&lt;/p&gt;
&lt;p&gt;		COLLECTMSG &amp;quot;CHK_ASSIGNMENT&amp;quot;,&amp;quot;ERROR&amp;quot;, Err.description&lt;/p&gt;
&lt;p&gt;		COLLECTMSG &amp;quot;CHK_ASSIGNMENT&amp;quot;,&amp;quot;Could not create SMS Client Object - Quitting&amp;quot;, Null&lt;/p&gt;
&lt;p&gt;	Else&lt;/p&gt;
&lt;p&gt;		' BSt modification start&lt;/p&gt;
&lt;p&gt;		Dim mySMSSite&lt;/p&gt;
&lt;p&gt;		mySMSSite = oSMSClient.GetAssignedSite&lt;/p&gt;
&lt;p&gt;		if mySMSSite = PXEInstallationSite and objFSO.FolderExists(&amp;quot;c:\_SMSTaskSequence&amp;quot;) then&lt;/p&gt;
&lt;p&gt;			wscript.quit&lt;/p&gt;
&lt;p&gt;		End if&lt;/p&gt;
&lt;p&gt;		' BSt modification end&lt;/p&gt;
&lt;p&gt;		If Len(mySMSSite) = 0 Then&lt;/p&gt;
&lt;p&gt;			CLIENTSTATE = CLIENTSTATE + 1&lt;/p&gt;
&lt;p&gt;			RegCounter &amp;quot;CHK_ASSIGNMENT&amp;quot;,1&lt;/p&gt;
&lt;p&gt;			If WKS_ASSIGNSITECODE = &amp;quot;AUTO&amp;quot; Then&lt;/p&gt;
&lt;p&gt;'have the client determine from AD or SLP appropraite site code&lt;/p&gt;
&lt;p&gt;oSMSClient.ReAssignSite &lt;/p&gt;
&lt;p&gt;COLLECTMSG &amp;quot;CHK_ASSIGNMENT&amp;quot;, &amp;quot;Error - Client not installed correctly - Setting AUTO&amp;quot;, Null StrERRType=StrERRType &amp;amp; &amp;quot;ASSIGNMENT_&amp;quot;&lt;/p&gt;
&lt;p&gt;				Else&lt;/p&gt;
&lt;p&gt;					oSMSClient.SetAssignedSite(WKS_ASSIGNSITECODE)&lt;/p&gt;
&lt;p&gt;COLLECTMSG &amp;quot;CHK_ASSIGNMENT&amp;quot;, &amp;quot;Error - Client not installed correctly - Setting &amp;quot; &amp;amp; WKS_ASSIGNSITECODE, Null StrERRType=StrERRType &amp;amp; &amp;quot;ASSIGNMENT_&amp;quot;&lt;/p&gt;
&lt;p&gt;				End If&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;		Else&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;			COLLECTMSG &amp;quot;CHK_ASSIGNMENT&amp;quot;,&amp;quot;&amp;gt;&amp;quot;, &amp;quot;Assigned Site = &amp;quot; &amp;amp; oSMSClient.GetAssignedSite&lt;/p&gt;
&lt;p&gt;		End If&lt;/p&gt;
&lt;p&gt;	End If&lt;/p&gt;
&lt;p&gt;	Set oSMSClient=Nothing&lt;/p&gt;
&lt;p&gt;End Sub&lt;/p&gt;
&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=138656" width="1" height="1"&gt;</description></item><item><title>re: SMS 2003 Client Health Startup Script v4.19</title><link>http://myitforum.com/cs2/blogs/scassells/archive/2009/04/14/sms-2003-client-health-startup-script-v4-19.aspx#138403</link><pubDate>Mon, 15 Jun 2009 18:35:06 GMT</pubDate><guid isPermaLink="false">8e8f7986-475c-475d-bdc9-a1b3a63b955b:138403</guid><dc:creator>speedyb</dc:creator><description>&lt;p&gt;Hello Shaun,&lt;/p&gt;
&lt;p&gt;I was using the script up to version 4.11 from dudeworks. Since we love the working of the script I was please to find that development is continued for this script.&lt;/p&gt;
&lt;p&gt;I have 2 questions:&lt;/p&gt;
&lt;p&gt;Question 1:&lt;/p&gt;
&lt;p&gt;You don't use a fixed site code.&lt;/p&gt;
&lt;p&gt;[quote]&lt;/p&gt;
&lt;p&gt;'AUTO because AD is extended with servers published&lt;/p&gt;
&lt;p&gt;WKS_ASSIGNSITECODE = &amp;quot;AUTO&amp;quot;&lt;/p&gt;
&lt;p&gt;[/quote] &lt;/p&gt;
&lt;p&gt;Doesn't this mean that traveling users are constantly reassigned between different SMS / SCCM Sites, or must I then use a fixed WKS_ASSIGNSITECODE?&lt;/p&gt;
&lt;p&gt;Question 2:&lt;/p&gt;
&lt;p&gt;With SCCM when using OS Deployment the client is assigned to the site which the server PXE Booted from. In our environment we have 2 servers in line. Primary1 is our management server which we used to manage the environment. This server also handles PXE. Primary2 is the site which all clients are assigned to. When we use the startup script to asign all clients ( fixed or AUTO ) the deployment fails with a BSOD. Is there a way to prevent this reassignment when an installation is ongoing?&lt;/p&gt;
&lt;p&gt;I hope you can help me with these questions. I think I might have a solution for question 2, but I don't know the usability of it. This is my solution based on script 4.11&lt;/p&gt;
&lt;p&gt;' =============================================================================&lt;/p&gt;
&lt;p&gt;' Method: &amp;nbsp; &amp;nbsp; &amp;nbsp; CHK_InstallationComplete&lt;/p&gt;
&lt;p&gt;' Description: &amp;nbsp;Checks if the installation of the machine is complete.&lt;/p&gt;
&lt;p&gt;	'BSt: 20090615&lt;/p&gt;
&lt;p&gt;	' If the machine is currently installing the installation will fail. Added a check to prevent this.&lt;/p&gt;
&lt;p&gt;	' The script will check the following:&lt;/p&gt;
&lt;p&gt;	'	* Current site is S50 = Installation Site&lt;/p&gt;
&lt;p&gt;	'	* the folder c:\_SMSTaskSequence is non existing&lt;/p&gt;
&lt;p&gt;' &lt;/p&gt;
&lt;p&gt;Dim PXEInstallationSite = &amp;quot;S01&amp;quot;&lt;/p&gt;
&lt;p&gt;=============================================================================&lt;/p&gt;
&lt;p&gt;Sub CHK_InstallationComplete()&lt;/p&gt;
&lt;p&gt;	COLLECTMSG &amp;quot;CHK_InstallationComplete&amp;quot;,&amp;quot;&amp;gt;&amp;quot;,Null&lt;/p&gt;
&lt;p&gt;	Set oReg=GetObject(&amp;quot;winmgmts:{impersonationLevel=impersonate}!\\&amp;quot; &amp;amp; Computer &amp;amp; &amp;quot;\root\default:StdRegProv&amp;quot;)&lt;/p&gt;
&lt;p&gt;	strKeyPath = &amp;quot;SOFTWARE\Microsoft\SMS\Mobile Client&amp;quot;&lt;/p&gt;
&lt;p&gt;	strValueName = &amp;quot;AssignedSiteCode&amp;quot;&lt;/p&gt;
&lt;p&gt;	oReg.GetStringValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,CURAssignedSite&lt;/p&gt;
&lt;p&gt;	If CURAssignedSite = PXEInstallationSite Then&lt;/p&gt;
&lt;p&gt;			if objFSO.FolderExists(&amp;quot;c:\_SMSTaskSequence&amp;quot;) then&lt;/p&gt;
&lt;p&gt;				COLLECTMSG &amp;quot;CHK_InstallationComplete&amp;quot;,&amp;quot;Installation Status | Still Installing&amp;quot;,Null&lt;/p&gt;
&lt;p&gt;				installationComplete = false&lt;/p&gt;
&lt;p&gt;			Else&lt;/p&gt;
&lt;p&gt;				COLLECTMSG &amp;quot;CHK_InstallationComplete&amp;quot;,&amp;quot;Installation Status | Installation Complete&amp;quot;,Null&lt;/p&gt;
&lt;p&gt;				installationComplete = True&lt;/p&gt;
&lt;p&gt;			End If&lt;/p&gt;
&lt;p&gt;	End if&lt;/p&gt;
&lt;p&gt;End Sub&lt;/p&gt;
&lt;p&gt;Looking forward to hear you opinion about this solution.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Bas Steelooper&lt;/p&gt;
&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=138403" width="1" height="1"&gt;</description></item><item><title>re: 3 methods to open a System Context command prompt</title><link>http://myitforum.com/cs2/blogs/scassells/archive/2009/05/07/3-methods-to-open-a-system-context-command-prompt.aspx#137820</link><pubDate>Fri, 05 Jun 2009 16:04:04 GMT</pubDate><guid isPermaLink="false">8e8f7986-475c-475d-bdc9-a1b3a63b955b:137820</guid><dc:creator>cnackers</dc:creator><description>&lt;p&gt;looks like you can do psexec -i -s powershell.exe as well, you need the -i though to see the powershell screen&lt;/p&gt;
&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=137820" width="1" height="1"&gt;</description></item><item><title>re: Marriott Rewards: Not So Rewarding</title><link>http://myitforum.com/cs2/blogs/scassells/archive/2009/04/03/marriott-rewards-not-so-rewarding.aspx#134552</link><pubDate>Tue, 14 Apr 2009 18:55:49 GMT</pubDate><guid isPermaLink="false">8e8f7986-475c-475d-bdc9-a1b3a63b955b:134552</guid><dc:creator>twilch</dc:creator><description>&lt;p&gt;Hey Shaun,&lt;/p&gt;
&lt;p&gt; &amp;nbsp; When I first started consulting, I found this out real quick. Most of the chains won&amp;#39;t award the points if going through these discount sites. I used Expedia and tried others and same thing. Pretty much have to pay the upcharge of going through the chains website to get the points. So I see it like this:&lt;/p&gt;
&lt;p&gt;Personal travel with no points- discount sites&lt;/p&gt;
&lt;p&gt;Business travel- Chain hotel rates, get points. &lt;/p&gt;
&lt;p&gt;Then after enough business travel, use the points up for personal travels.&lt;/p&gt;
&lt;p&gt;Troy&lt;/p&gt;
&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=134552" width="1" height="1"&gt;</description></item><item><title>re: SMS 2003 Client Health Startup Script v4.18</title><link>http://myitforum.com/cs2/blogs/scassells/archive/2009/01/28/sms-2003-client-health-startup-script-v4-18.aspx#134304</link><pubDate>Sat, 11 Apr 2009 15:42:21 GMT</pubDate><guid isPermaLink="false">8e8f7986-475c-475d-bdc9-a1b3a63b955b:134304</guid><dc:creator>kingskawn</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for this script but can you tell us how to make it SCCM compatible because in the title it says that it's working on sms2003 and under it says that for sccm there must be some modifications. What are these?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=134304" width="1" height="1"&gt;</description></item><item><title>re: SMS 2003 Client Health Startup Script v4.18</title><link>http://myitforum.com/cs2/blogs/scassells/archive/2009/01/28/sms-2003-client-health-startup-script-v4-18.aspx#132100</link><pubDate>Thu, 05 Mar 2009 00:54:34 GMT</pubDate><guid isPermaLink="false">8e8f7986-475c-475d-bdc9-a1b3a63b955b:132100</guid><dc:creator>scassells</dc:creator><description>&lt;p&gt;Hi MeenEnta&lt;/p&gt;
&lt;p&gt; &amp;nbsp; Good question. &amp;nbsp;In our environment we have removed local admin rights away from users. &amp;nbsp;Because of this we add in a Domain Group to allow a specific set of people to have access to the machine as administrators. &amp;nbsp; &lt;/p&gt;
&lt;p&gt;If this is not something you need in your environment make sure do_CHK_LOCALADMIN is set to FALSE.&lt;/p&gt;
&lt;p&gt;Best&lt;/p&gt;
&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=132100" width="1" height="1"&gt;</description></item><item><title>re: SMS 2003 Client Health Startup Script v4.18</title><link>http://myitforum.com/cs2/blogs/scassells/archive/2009/01/28/sms-2003-client-health-startup-script-v4-18.aspx#132098</link><pubDate>Wed, 04 Mar 2009 22:23:37 GMT</pubDate><guid isPermaLink="false">8e8f7986-475c-475d-bdc9-a1b3a63b955b:132098</guid><dc:creator>MeenEnta</dc:creator><description>&lt;p&gt;In the script you have this line&lt;/p&gt;
&lt;p&gt;WKS_admACCT = &amp;quot;putyourshere&amp;quot;	&amp;#39;SpecIfy SMS Admin account (group)&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure what to put there, is it my logon &amp;quot;username&amp;quot; as I am the administrator or something else?&lt;/p&gt;
&lt;p&gt;Thx Shaun.&lt;/p&gt;
&lt;p&gt;Also my other email is gkamenjati@valleywater.org&lt;/p&gt;
&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=132098" width="1" height="1"&gt;</description></item></channel></rss>
