<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Gabe on Software</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/gabeb/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/gabeb/feed.xml</link>
    <description>Nuggets of wisdom on Agile Development, .NET and ConfigMgr 2007</description>
    <lastBuildDate>Wed, 17 Apr 2019 03:21:59 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Beta The Next Version of Configuration Manager</title>
      <link>https://docs.microsoft.com/archive/blogs/gabeb/beta-the-next-version-of-configuration-manager</link>
      <pubDate>Tue, 12 Jan 2010 11:18:00 GMT</pubDate>
      <dc:creator><![CDATA[Gabe Brown]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/gabeb/2010/01/12/beta-the-next-version-of-configuration-manager/</guid>
      <description><![CDATA[Want to get access to the next version of Configuration Manager?&nbsp; Nominate your org to be a TAP...]]></description>
      <content:encoded><![CDATA[Want to get access to the next version of Configuration Manager?&nbsp; <A href="https://blogs.technet.com/systemcenter/archive/2010/01/08/the-next-wave-of-client-management-begins-now.aspx" mce_href="https://blogs.technet.com/systemcenter/archive/2010/01/08/the-next-wave-of-client-management-begins-now.aspx">Nominate your org to be a TAP customer.</A><IMG style="WIDTH: 161px; HEIGHT: 103px" title="System Center Logo" alt="System Center Logo" align=right src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/09/94/72/71/SystemCenterLogo.png" original-url="https://blogs.msdn.com/photos/gabebmicrosoftcom/images/9947271/original.aspx" width=161 height=103 mce_src="https://blogs.msdn.com/photos/gabebmicrosoftcom/images/9947271/original.aspx">&nbsp;]]></content:encoded>
    </item>
    <item>
      <title>Getting a ConfigMgr Client's Registered Certificate Thumbprint</title>
      <link>https://docs.microsoft.com/archive/blogs/gabeb/getting-a-configmgr-clients-registered-certificate-thumbprint</link>
      <pubDate>Mon, 14 Dec 2009 14:02:00 GMT</pubDate>
      <dc:creator><![CDATA[Gabe Brown]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/gabeb/2009/12/14/getting-a-configmgr-clients-registered-certificate-thumbprint/</guid>
      <description><![CDATA[When managing a client in a ConfigMgr 2007 hierarchy, it can be difficult to determine what...]]></description>
      <content:encoded><![CDATA[<P>When managing a client in a ConfigMgr 2007 hierarchy, it can be difficult to determine what certificate the client is registering with and the client's registration status. &nbsp;This information is stored in WMI and is sometimes difficult to get access and&nbsp;interpret. &nbsp;Instead of trying to demonstrate how to do that, I wrote a simple VB script that will print the information to the console.</P>
<P><B>How to use the script<BR><SPAN style="FONT-WEIGHT: normal" class=Apple-style-span>Copy the</SPAN><SPAN style="FONT-WEIGHT: normal" class=Apple-style-span>&nbsp;script to a machine running the ConfigMgr client. &nbsp;Run the script by using "cscript GetClientCert.vbs". &nbsp;Note: Double clicking the script will not work. &nbsp;The thumbprint returned is the certificate thumbprint the client uses for registering with the site server. &nbsp;</SPAN></B></P>
<P><B>Example output</B></P><PRE style="BACKGROUND: none transparent scroll repeat 0% 0%">C:\&gt;cscript GetClientCert.vbs
Microsoft (R) Windows Script Host Version 5.7
Copyright (C) Microsoft Corporation. All rights reserved.

Registration Status: &nbsp;0 = Not Registered, 1 = Pending, 2 = Registered

Certificate Thumbprint: 6471FF40242F9C30C14501FB474955DE8D8595A9

Registration Status &nbsp; : 2
</PRE>
<DIV>&nbsp;</DIV>
<DIV>In the example above, you can see &nbsp;the certificate thumbprint is&nbsp;6471FF40242F9C30C14501FB474955DE8D8595A9 and the client has a registration status of 2, which means the client has registered.</DIV>
<DIV>&nbsp;</DIV>
<DIV><B>Download the script</B></DIV>
<DIV>Copy the script below into a file called GetClientCert.vbs and save:</DIV><PRE>strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
    &amp; "{impersonationLevel=impersonate}!\\" &amp; strComputer &amp; "\root\ccm")

Set colItems = objWMIService.ExecQuery("SELECT * FROM CCM_ClientIdentificationInformation")

Wscript.Echo "Registration Status:  0 = Not Registered, 1 = Pending, 2 = Registered"

For Each objItem in colItems
    Wscript.Echo
    Wscript.Echo "Certificate Thumbprint: " &amp; objItem.ReservedString1
    Wscript.Echo "Registration Status   : " &amp; objItem.ReservedUInt1
    Wscript.Echo
Next
</PRE>]]></content:encoded>
    </item>
    <item>
      <title>Cloud Computing Meatwad!</title>
      <link>https://docs.microsoft.com/archive/blogs/gabeb/cloud-computing-meatwad</link>
      <pubDate>Mon, 30 Mar 2009 11:46:00 GMT</pubDate>
      <dc:creator><![CDATA[Gabe Brown]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/gabeb/2009/03/30/cloud-computing-meatwad/</guid>
      <description><![CDATA[]]></description>
      <content:encoded><![CDATA[<IMG style="WIDTH: 500px; HEIGHT: 375px" title="Cloud Computing Meatwad" border=0 alt="Cloud Computing Meatwad" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/09/51/92/87/CloudComputingMeatwad.jpg" original-url="https://blogs.msdn.com/photos/gabebmicrosoftcom/images/9519287/500x375.aspx" width=500 height=375 mce_src="https://blogs.msdn.com/photos/gabebmicrosoftcom/images/9519287/500x375.aspx">]]></content:encoded>
    </item>
    <item>
      <title>How to Re-Sign (Strongly Name) an existing .NET Binary</title>
      <link>https://docs.microsoft.com/archive/blogs/gabeb/how-to-re-sign-strongly-name-an-existing-net-binary</link>
      <pubDate>Tue, 30 Dec 2008 19:30:00 GMT</pubDate>
      <dc:creator><![CDATA[Gabe Brown]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/gabeb/2008/12/30/how-to-re-sign-strongly-name-an-existing-net-binary/</guid>
      <description><![CDATA[Do you have an existing .Net binary you are trying to use with an existing project that uses...]]></description>
      <content:encoded><![CDATA[<P>Do you have an existing .Net binary you are trying to use with an existing project that uses strongly named binaries?&nbsp; If the pre-existing binary is not strongly signed too, you can't use it.&nbsp; Doh!&nbsp; I found this nice tutorial that shows you <A href="https://www.andrewconnell.com/blog/archive/2004/12/15/772.aspx" mce_href="https://www.andrewconnell.com/blog/archive/2004/12/15/772.aspx">how to de-compile and existing binary and re-sign it with a new key</A>!</P>
<P>&nbsp;A reader suggested a similar tool, <A class="" href="https://www.microsoft.com/downloads/details.aspx?familyid=22914587-b4ad-4eae-87cf-b14ae6a939b0&amp;displaylang=en" mce_href="https://www.microsoft.com/downloads/details.aspx?familyid=22914587-b4ad-4eae-87cf-b14ae6a939b0&amp;displaylang=en">ILMerge</A> that does something similar. </P>]]></content:encoded>
    </item>
    <item>
      <title>Merry Christmas and Happy New Years!</title>
      <link>https://docs.microsoft.com/archive/blogs/gabeb/merry-christmas-and-happy-new-years</link>
      <pubDate>Wed, 24 Dec 2008 15:49:00 GMT</pubDate>
      <dc:creator><![CDATA[Gabe Brown]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/gabeb/2008/12/24/merry-christmas-and-happy-new-years/</guid>
      <description><![CDATA[Hope everyone has a wonderful holiday and wish everyone a wonderful Christmas! :)]]></description>
      <content:encoded><![CDATA[<P>Hope everyone has a wonderful holiday and wish everyone a wonderful Christmas! :)</P>]]></content:encoded>
    </item>
    <item>
      <title>I'm Famous!</title>
      <link>https://docs.microsoft.com/archive/blogs/gabeb/im-famous</link>
      <pubDate>Fri, 31 Oct 2008 11:19:00 GMT</pubDate>
      <dc:creator><![CDATA[Gabe Brown]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/gabeb/2008/10/31/im-famous/</guid>
      <description><![CDATA[I'm on the news]]></description>
      <content:encoded><![CDATA[<a href="https://www.king5.com/video/news-index.html?nvid=297958" mce_href="https://www.king5.com/video/news-index.html?nvid=297958">I'm on the news</a><br>]]></content:encoded>
    </item>
    <item>
      <title>Converting C# to VB.net</title>
      <link>https://docs.microsoft.com/archive/blogs/gabeb/converting-c-to-vb-net</link>
      <pubDate>Tue, 07 Oct 2008 10:49:00 GMT</pubDate>
      <dc:creator><![CDATA[Gabe Brown]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/gabeb/2008/10/07/converting-c-to-vb-net/</guid>
      <description><![CDATA[I had one reader from Germany contact me regarding porting a sample section of my blog posting on...]]></description>
      <content:encoded><![CDATA[<P>I had one reader from Germany contact me regarding porting a sample section of my blog posting on <A class="" href="https://blogs.msdn.com/gabeb/archive/2007/11/06/using-the-mpapi-with-net-part-1.aspx" mce_href="https://blogs.msdn.com/gabeb/archive/2007/11/06/using-the-mpapi-with-net-part-1.aspx">using the MpApi&nbsp;in .Net</A>.&nbsp; Unfortunately, I don't use VB.net that often and my time to port it to VB.net is limited, however I found a great online tool that can do this for you.</P>
<P><A class="" href="https://www.kamalpatel.net/ConvertCSharp2VB.aspx" mce_href="https://www.kamalpatel.net/ConvertCSharp2VB.aspx">KamalPatel.net</A> has a nice tool, <A class="" href="https://www.kamalpatel.net/ConvertCSharp2VB.aspx" mce_href="https://www.kamalpatel.net/ConvertCSharp2VB.aspx">ConvertCSharp2VB</A>.&nbsp;It's rather simple, you copy and paste C# code into the form and it spits out the same code on VB.net.&nbsp; Here's the sample in C# and VB.net that I used:</P>
<P><STRONG>C# Sample<BR></STRONG>SmsMessagingClass messaging = new SmsMessagingClass();<BR>ISmsMessage4 message, reply;<BR>smsMessaging.CreateMessage(out message);<BR>message.SetTargetEndpoint("MyDummyEndpoint");<BR>message.SetPort(80);message.SetBodyFromString("MyMessageBody");</P>
<P>// Send the message using HTTP<BR>messaging.Invoke("<A href="https://myhostname/">https://myHostname</A>", message, out reply); </P>
<P>// Do something with the reply here...</P>
<P><STRONG>VB.Net Sample<BR></STRONG>Dim messaging As SmsMessagingClass =&nbsp; New SmsMessagingClass() <BR>Dim message As ISmsMessage4,reply As ISmsMessage4<BR>smsMessaging.CreateMessage( message)<BR>message.SetTargetEndpoint("MyDummyEndpoint")<BR>message.SetPort(80)message.SetBodyFromString("MyMessageBody")<BR>&nbsp;<BR>' Send the message using HTTP<BR>messaging.Invoke("<A href="https://myhostname%22,message,out/">https://myHostname",message,out</A> reply)<BR>&nbsp;<BR>' Do something with the reply here...</P>]]></content:encoded>
    </item>
    <item>
      <title>Free Agile Development Talks from</title>
      <link>https://docs.microsoft.com/archive/blogs/gabeb/free-agile-development-talks-from</link>
      <pubDate>Mon, 18 Aug 2008 12:32:00 GMT</pubDate>
      <dc:creator><![CDATA[Gabe Brown]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/gabeb/2008/08/18/free-agile-development-talks-from/</guid>
      <description><![CDATA[These are some great talks from the best minds on agile software development giving their talks at...]]></description>
      <content:encoded><![CDATA[<p>These are some great talks from the best minds on agile software development giving their talks at this years agile convention in Toronto.&nbsp; A lot of them are being posted online free to view! <br></p><ul><li><a href="https://www.infoq.com/presentations/We-Suck-Less-Douglas-Dymond" mce_href="https://www.infoq.com/presentations/We-Suck-Less-Douglas-Dymond">"We Suck Less!" Is Not Enough</a></li></ul><br><p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Enabling Debug and Verbose Logging in ConfigMgr 2007</title>
      <link>https://docs.microsoft.com/archive/blogs/gabeb/enabling-debug-and-verbose-logging-in-configmgr-2007</link>
      <pubDate>Wed, 06 Aug 2008 13:30:00 GMT</pubDate>
      <dc:creator><![CDATA[Gabe Brown]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/gabeb/2008/08/06/enabling-debug-and-verbose-logging-in-configmgr-2007/</guid>
      <description><![CDATA[I adapted this from the SMS Client FAQ section since I get so many questions on how to do...]]></description>
      <content:encoded><![CDATA[<p>I adapted this from the <a href="https://www.microsoft.com/technet/sms/2003/library/techfaq/tfaq03.mspx" mce_href="https://www.microsoft.com/technet/sms/2003/library/techfaq/tfaq03.mspx">SMS Client FAQ</a> section since I get so many questions on how to do this.&nbsp; Debug and Verbose provides additional information on error conditions for clients and servers.&nbsp; Setting this flag automatically triggers more information in the logs and does not require a reboot or restart of the system.</p><p><b>Enabling Debug and Verbose Logging</b> <br></p><ol><li>To enable debug logging after installation, create the following registry key:</li><ol><li>HKLM\SOFTWARE\Microsoft\CCM\Logging\debuglogging</li></ol><li>To enable verbose logging after installation, change the following value to 0.&nbsp; You will need to right click on the @Global key and change permissions to allow the current user to change the data in the key.</li><ol><li>HKLM\Software\Microsoft\CCM\Logging\@Global\Loglevel </li></ol><li>You're done!&nbsp; Log files should now start producing A LOT more information.<br></li></ol><p><br></p><p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Muppets Mahna Mahna Video</title>
      <link>https://docs.microsoft.com/archive/blogs/gabeb/muppets-mahna-mahna-video</link>
      <pubDate>Tue, 05 Aug 2008 16:50:00 GMT</pubDate>
      <dc:creator><![CDATA[Gabe Brown]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/gabeb/2008/08/05/muppets-mahna-mahna-video/</guid>
      <description><![CDATA[Hahahaha! It's the little stuff like this that takes me back to the days I wish I was a kid...]]></description>
      <content:encoded><![CDATA[<p>Hahahaha! It's the little stuff like this that takes me back to the days I wish I was a kid again..</p>

<p>
<object width="425" height="344">
<param name="movie" value="https://www.youtube.com/v/YevYBsShxNs&amp;hl=en&amp;fs=1">
<param name="allowFullScreen" value="true">
<embed src="https://www.youtube.com/v/YevYBsShxNs&amp;hl=en&amp;fs=1" mce_src="https://www.youtube.com/v/YevYBsShxNs&amp;hl=en&amp;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></object>
</p>
]]></content:encoded>
    </item>
  </channel>
</rss>