<?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>Mohammed Jeelani's Blog</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/mjeelani/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/mjeelani/feed.xml</link>
    <description>-- Build to Perform, Architect to Evolve --</description>
    <lastBuildDate>Wed, 17 Apr 2019 03:25:42 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Top 2 things you should know about the Global Assembly Cache (GAC) in .NET 4.0</title>
      <link>https://docs.microsoft.com/archive/blogs/mjeelani/top-2-things-you-should-know-about-the-global-assembly-cache-gac-in-net-4-0</link>
      <pubDate>Mon, 07 Jun 2010 04:36:00 GMT</pubDate>
      <dc:creator><![CDATA[Jeelani Mohamed]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/mjeelani/2010/06/07/top-2-things-you-should-know-about-the-global-assembly-cache-gac-in-net-4-0/</guid>
      <description><![CDATA[The Global Assembly Cache underwent a few changes in .NET 4.0. On your first few days with .NET 4.0...]]></description>
      <content:encoded><![CDATA[<p>The Global Assembly Cache underwent a few changes in .NET 4.0. On your first few days with .NET 4.0 you'll most likely encounter a few scenarios which work differently than they did in the previous versions of .NET Framework.<br /><br /><b>1) You use gacutil.exe to install a .NET 4.0 assembly to the GAC but cannot find the assembly in the GAC when you look under 'c:\&lt;windows folder&gt;\assembly' using Windows Explorer</b><br /><br />In .NET 4.0 the GAC Location has changed, The .NET 4.0 GAC is now located under 'c:\&lt;windows folder&gt;\Microsoft.NET\assembly'. Previous versions of .NET Framework will continue to use 'c:\&lt;windows folder&gt;\assembly'. If you install a .NET 4.0 assembly into the GAC using gacutil.exe it will go under the new location.<br /><br /><b><br />2) You copied gacutil.exe supplied with .NET 4.0 SDK to a different location but it doesn't work as expected. gacutil.exe doesn't seem to install your assembly in the GAC only when run from this custom location, you've even checked the new .NET 4.0 GAC location.</b><br /><br />gacutil.exe starting .NET 4.0 has a dependency gacutlrc.dll which you can find in the subfolder 1033 where gacutil.exe is located. You need to copy this assembly as well to your gacutil.exe location. <br /><br />Copying gacutil.exe to your installer location, etc is discouraged. Aaron's got a <a href="https://blogs.msdn.com/b/astebner/archive/2006/11/04/why-to-not-use-gacutil-exe-in-an-application-setup.aspx">nice blog post</a> describing why this is bad.<a target="_blank" href="https://blogs.msdn.com/b/astebner/archive/2006/11/04/why-to-not-use-gacutil-exe-in-an-application-setup.aspx"></a></p>]]></content:encoded>
    </item>
    <item>
      <title>Live Mesh makes it easy for you to set your Windows Mobile Ringtones</title>
      <link>https://docs.microsoft.com/archive/blogs/mjeelani/live-mesh-makes-it-easy-for-you-to-set-your-windows-mobile-ringtones</link>
      <pubDate>Sun, 12 Jul 2009 02:11:00 GMT</pubDate>
      <dc:creator><![CDATA[Jeelani Mohamed]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/mjeelani/2009/07/12/live-mesh-makes-it-easy-for-you-to-set-your-windows-mobile-ringtones/</guid>
      <description><![CDATA[I've not used anything but a Windows Mobile (oops Windows Phone!) for the past 7-8 years, even...]]></description>
      <content:encoded><![CDATA[<DIV>I've not used anything but a <SPAN style="BORDER-BOTTOM: medium none; BACKGROUND: none transparent scroll repeat 0% 0%; CURSOR: hand" id=lw_1247378112_0 class=yshortcuts>Windows Mobile</SPAN> (oops <SPAN style="BORDER-BOTTOM: #0066cc 1px dashed; BACKGROUND: none transparent scroll repeat 0% 0%; CURSOR: hand" id=lw_1247378112_1 class=yshortcuts>Windows Phone</SPAN>!) for the past 7-8 years, even though I'm a hardcore WinMo buff, I have to agree performing some simple tasks such as setting up a new <SPAN style="BORDER-BOTTOM: #0066cc 1px dashed; BACKGROUND: none transparent scroll repeat 0% 0%; CURSOR: hand" id=lw_1247378112_2 class=yshortcuts>Ringtone</SPAN> on the phone is harder than what it should be.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Pratap, a colleague of mine sent across a link to download <A href="https://windowslive.com/Connect/Post/5e98596a-9b5f-450d-8fb9-da5c9b94f71d" mce_href="https://windowslive.com/Connect/Post/5e98596a-9b5f-450d-8fb9-da5c9b94f71d">Bingtones</A>. I really didn't want to dig my bag for a usb cable, then install <SPAN style="BORDER-BOTTOM: #0066cc 1px dashed; BACKGROUND: none transparent scroll repeat 0% 0%; CURSOR: hand" id=lw_1247378112_5 class=yshortcuts>Windows Mobile Device Center</SPAN> on my laptop just to change a ringtone on the phone. Until it occured to me Live Mesh can be of help - setting up new ringtone on your windows mobile becomes a <SPAN id=lw_1247378112_6 class=yshortcuts>piece of cake</SPAN> if you</DIV>
<DIV>&nbsp;</DIV>
<DIV>1) Share your My Ringtones folder from your phopne to your Mesh</DIV>
<DIV>2) Download your new ringtone and drop it to your My Ringtones folder on your desk/laptop</DIV>
<DIV>&nbsp;</DIV>
<DIV>In a few seconds your ringtone syncs up on yr WinMo device and voila! you are good to go, can't be any simpler!</DIV>]]></content:encoded>
    </item>
    <item>
      <title>27th June 2008</title>
      <link>https://docs.microsoft.com/archive/blogs/mjeelani/27th-june-2008</link>
      <pubDate>Fri, 27 Jun 2008 16:35:00 GMT</pubDate>
      <dc:creator><![CDATA[Jeelani Mohamed]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/mjeelani/2008/06/27/27th-june-2008/</guid>
      <description><![CDATA[It’s a little over 2 years that we first heard of it ...today was the inevitable day. 
I wasn't...]]></description>
      <content:encoded><![CDATA[<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT face=Calibri size=3>It’s a little over 2 years that we <A class="" href="https://blogs.msdn.com/mjeelani/archive/2006/06/17/635172.aspx" mce_href="https://blogs.msdn.com/mjeelani/archive/2006/06/17/635172.aspx">first heard of it</A> ...today was the inevitable day. </FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT face=Calibri size=3>I wasn't fortunate enough to attend the Bill Gates town hall in person today. Though it was being webcasted to all MPRs on campus - I decided to watch it from my desk, after all I feared shedding a tear in front of a whole bunch of colleagues. But the load on the network gave me the slip and I had to go into an MPR. I couldn't help but shed a tear - but I wasn't alone - the man himself shed a few tears when the energetic Big Boy Ballmer couldn't hold himself together any longer, that moment, I’m sure the whole world broke down. Dang - Today hurts deep.</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT face=Calibri size=3>As I ask myself when the first time was I ever heard of Bill Gates. I can't even remember it’s something like how you don't even remember someone telling you – “this is your brother” or "this is your sister". I grew up knowing this chap - he wasn't just a hero, or just an inspiration, he is a way of life - someone who we look up to as a role model who we can’t replicate even a smallest fraction of how we live not just our professional life but also our personal. </FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT face=Calibri size=3>The media covered the day pretty well, even my mother who is generally up to date on things but not technology in particular, was eager to speak to me today about how the media was covering Bill. However, everyone seems to be bidding farewell to Bill. This is ok for people who just saw him as an entrepreneur, as a computer industry leader. However, for people who look up to him as a role model, it’s just another chapter, they realize that Bill Gates is just being himself, doing things others didn't even dare to dream. He started this company even before I was born, I believe in everything that this company does, I'm a part of it just cause of him. ..and I hope someday, I get the courage to give up all the small little things I may have done but hold close and move on to be of any little help I can be to people around the world, be it in Education or Health.</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT face=Calibri size=3>Bill, you just didn't create Microsoft, you created the software industry. Every person in this industry, be it they work for Microsoft, its partners or even its competition, holds you in high regard, we hope to work hard, smart and in every way to push this industry and its state of the art forward and continue to make you proud!</FONT></P>]]></content:encoded>
    </item>
    <item>
      <title>IIS 7 Mobile Admin</title>
      <link>https://docs.microsoft.com/archive/blogs/mjeelani/iis-7-mobile-admin</link>
      <pubDate>Mon, 24 Mar 2008 02:48:46 GMT</pubDate>
      <dc:creator><![CDATA[Jeelani Mohamed]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/mjeelani/2008/03/24/iis-7-mobile-admin/</guid>
      <description><![CDATA[IIS 7 Mobile Admin lets you remotely administer a IIS 7 Web server right from your mobile phone. I...]]></description>
      <content:encoded><![CDATA[<p>IIS 7 Mobile Admin lets you remotely administer a IIS 7 Web server right from your mobile phone. I do like the fact that this is a web application and not a smart/thick client running natively on the phone. Nothing stops you from even borrowing your friend's iPhone (I assume you use a Windows Mobile :) - feedback on how it looks on an iPhone or any other phone to <a href="https://www.awesomeideas.net/">sukesh</a>) and go about administering your web site from anywhere.</p> <p>Read more on Sukesh's blog at <a title="https://www.awesomeideas.net/page/IIS7-Mobile-Admin.aspx" href="https://www.awesomeideas.net/page/IIS7-Mobile-Admin.aspx">https://www.awesomeideas.net/page/IIS7-Mobile-Admin.aspx</a></p> <p>Sukesh has also shared the source code on <a href="https://www.codeplex.com/IIS7MobileAdmin/">Codeplex</a>, if there is a feature you'd like to contribute towards, you can find the project at <a title="https://www.codeplex.com/IIS7MobileAdmin/" href="https://www.codeplex.com/IIS7MobileAdmin/">https://www.codeplex.com/IIS7MobileAdmin/</a></p> <p>Thanks a ton for this utility Sukesh, it sure rocks!</p>]]></content:encoded>
    </item>
    <item>
      <title>Assigning Keyboard Shortcut / Access Keys to your WPF Application</title>
      <link>https://docs.microsoft.com/archive/blogs/mjeelani/assigning-keyboard-shortcut-access-keys-to-your-wpf-application</link>
      <pubDate>Sat, 15 Dec 2007 11:10:08 GMT</pubDate>
      <dc:creator><![CDATA[Jeelani Mohamed]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/mjeelani/2007/12/15/assigning-keyboard-shortcut-access-keys-to-your-wpf-application/</guid>
      <description><![CDATA[Assigning shortcut/access keys to say a button (So instead of click on the Next Button you can press...]]></description>
      <content:encoded><![CDATA[<p>Assigning shortcut/access keys to say a button (So instead of click on the Next Button you can press N on your keyboard) is something really trivial in a the Windows Form's world - but strangely in WPF the friendly '&amp;' that you place in front of the Char of your Windows Forms Text property fails to work. At least at the time of writing this post all major search engines seems to return minimal information on how to set an access key for a button. </p>  <p>As it turns out in WPF you need to use the _ (underscore) char instead of a &amp; to assign a shortcut key. Thanks to a colleague of mine who pointed out the reason for it being that using a '&amp;' in XAML would require typing &amp;amp due to XML syntax. </p>  <p><a href="https://robrelyea.com/" target="_blank">Rob Relyea</a> and a few others from the VS 2008 Designer and Blend team discussed on an internal alias as to how to make it easier for developers moving from the Windows Forms/Visual Basic world to be made aware of this change. If you do have any suggestions do drop a comment below or you can also leave a comment on <a href="https://rrelyea.spaces.live.com/blog/cns!167AD7A5AB58D5FE!2524.entry" target="_blank">Rob's blog post on this topic here</a>.</p>]]></content:encoded>
    </item>
    <item>
      <title>Speaking at Tech Ed, India this Saturday</title>
      <link>https://docs.microsoft.com/archive/blogs/mjeelani/speaking-at-tech-ed-india-this-saturday</link>
      <pubDate>Thu, 14 Jun 2007 16:43:00 GMT</pubDate>
      <dc:creator><![CDATA[Jeelani Mohamed]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/mjeelani/2007/06/14/speaking-at-tech-ed-india-this-saturday/</guid>
      <description><![CDATA[Rajesh Sampath and I will be speaking at Tech ED India (or Techmela as it’s called in its new...]]></description>
      <content:encoded><![CDATA[<P style="MARGIN: 0in 0in 10pt" class=MsoNormal><SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt"><IMG style="WIDTH: 347px; HEIGHT: 181px" align=right src="https://aycu40.webshots.com/image/16999/2005376824260073949_rs.jpg" width=347 height=181 mce_src="https://aycu40.webshots.com/image/16999/2005376824260073949_rs.jpg">Rajesh Sampath and I will be speaking at <A href="https://www.microsoft.com/events/teched2007/worldwide.mspx" target=_blank mce_href="https://www.microsoft.com/events/teched2007/worldwide.mspx">Tech ED</A> India (or <A href="https://www.techmela.com/" target=_blank mce_href="https://www.techmela.com">Techmela</A> as it’s called in its new incarnation, which is an amalgamation of Tech ED, Mix, MEDC and&nbsp;ITPC all happening at the same time, same place!). We will deliver a talk titled Model Driven Development using <A href="https://msdn2.microsoft.com/en-us/vstudio/aa718368.aspx" target=_blank mce_href="https://msdn2.microsoft.com/en-us/vstudio/aa718368.aspx">Microsoft Domain Specific Language Tools</A>. We will start with a background on Model Driven Development, touch upon Software Factories and then dive deep into Domain Specific Language Tools, what they are, how you can create your own Domain Specific Language and at the end take a look at an implementation of a DSL within Microsoft IT.</SPAN></P>
<P style="MARGIN: 0in 0in 10pt" class=MsoNormal><SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">So if you are in Mumbai attending TechMela this Saturday (16th June) and are interested in Domain Specific Languages then do&nbsp;drop by for our session slated at 16.20.</SPAN></P>
<P style="MARGIN: 0in 0in 10pt" class=MsoNormal><SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt"><STRONG>Update: </STRONG>The Slide Deck from our session can be&nbsp;downloaded from&nbsp;<A href="https://www.mjeelani.net/shared/dsl/TechMela%20Model%20Driven%20Development%20with%20Domain%20Specific%20Language%20Tools.pptx" target=_blank mce_href="https://www.mjeelani.net/shared/dsl/TechMela Model Driven Development with Domain Specific Language Tools.pptx">here</A>. Some demo video's of our&nbsp;DSL's are <A href="https://www.mjeelani.net/shared/dsl/DSL_Implimentation_CodeGym.wmv" target=_blank mce_href="https://www.mjeelani.net/shared/dsl/DSL_Implimentation_CodeGym.wmv">here</A> and <A href="https://www.mjeelani.net/shared/dsl/DSL_Implimentation_OML.wmv" target=_blank mce_href="https://www.mjeelani.net/shared/dsl/DSL_Implimentation_OML.wmv">here</A>.</SPAN></P>]]></content:encoded>
    </item>
    <item>
      <title>"Common Language Runtime detected an invalid program" - InvalidProgramException  - When your application has a really large method.</title>
      <link>https://docs.microsoft.com/archive/blogs/mjeelani/common-language-runtime-detected-an-invalid-program-invalidprogramexception-when-your-application-has-a-really-large-method</link>
      <pubDate>Sat, 09 Dec 2006 02:52:00 GMT</pubDate>
      <dc:creator><![CDATA[Jeelani Mohamed]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/mjeelani/2006/12/09/common-language-runtime-detected-an-invalid-program-invalidprogramexception-when-your-application-has-a-really-large-method/</guid>
      <description><![CDATA[If you've written a whole bunch (and I mean a really big WHOLE bunch) of code inside a method,...]]></description>
      <content:encoded><![CDATA[<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><SPAN style="FONT-SIZE: 10pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">If you've written a whole bunch (and I mean a really big WHOLE bunch) of code inside a method, constructor or the like, there is a good chance you'll see this exception. <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><SPAN style="FONT-SIZE: 10pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">We had an application that would generate an Assembly using CodeDom based on certain parameters. The parameter list for one scenario got so huge that the app generated a class with a constructor with 39,000 lines of code. When we tried instantiating an object of this class our app would just crash with a "Common Language Runtime has detected an invalid program" - InvalidProgramException. <o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><SPAN style="FONT-SIZE: 10pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">PEVerify.exe would not return any errors (and say that the IL is just fine) but when you try and run NGEN.exe it would fail at that gigantic method.<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><SPAN style="FONT-SIZE: 10pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">So the problem is with the JIT compiler. There is a limitation on the number of local variable the JIT compiler in the CLR can handle for .NET 2.0 - which was restricted to a max of 32767 (which includes the local used by the JIT itself as well). So once in a blue moon with a GIGANTIC method that you just can't do with out for some strange reason will give you this Exception. This problem is documented in KB (I would like to point out that this is not the only scenario in which the CLR would throw the InvalidProgramException, this is one of the reasons you'd see it). <o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><SPAN style="FONT-SIZE: 10pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">There is a Hotfix available for this problem now which increases the limit of local variables from 32767 to 4 million. The problem (and hence the reason for this blog entry) is that <A href="https://support.microsoft.com/?kbid=919514" mce_href="https://support.microsoft.com/?kbid=919514"><SPAN style="COLOR: windowtext; TEXT-DECORATION: none; text-underline: none">KB 919514</SPAN></A> (https://support.microsoft.com/?kbid=919514), which is related to the Hotfix doesn't seem related at all from the description. And the KB that does sound related <A href="https://support.microsoft.com/kb/312544" mce_href="https://support.microsoft.com/kb/312544"><SPAN style="COLOR: windowtext; TEXT-DECORATION: none; text-underline: none">KB 312544</SPAN></A> (https://support.microsoft.com/kb/312544 - problem<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>#3) doesn't speak of the Hotfix. Our appologies for this confusion - I've written an email to the content team to resolve this documentation issue. <o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><SPAN style="FONT-SIZE: 10pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">Till then please read <A href="https://support.microsoft.com/?kbid=919514" mce_href="https://support.microsoft.com/?kbid=919514"><SPAN style="COLOR: windowtext; TEXT-DECORATION: none; text-underline: none">KB 919514</SPAN></A> and contact PSS for the Hotfix. This fix has already been branched into the Orcas release.</SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><SPAN style="FONT-SIZE: 10pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">&nbsp;UPDATE (29/12/2006) : I just got a notification that the content team has updated <A class="" title="KB 312544" href="https://support.microsoft.com/?id=312544" target=_blank mce_href="https://support.microsoft.com/?id=312544">KB 312544</A> to reflect the availability of the Hotfix.</SPAN></P>]]></content:encoded>
    </item>
    <item>
      <title>Windows Powershell - Cooler than Cool!</title>
      <link>https://docs.microsoft.com/archive/blogs/mjeelani/windows-powershell-cooler-than-cool</link>
      <pubDate>Tue, 14 Nov 2006 12:50:00 GMT</pubDate>
      <dc:creator><![CDATA[Jeelani Mohamed]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/mjeelani/2006/11/14/windows-powershell-cooler-than-cool/</guid>
      <description><![CDATA[As you probably know Windows Powershell has RTWed! You can find the download links and more...]]></description>
      <content:encoded><![CDATA[<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">As you probably know <A href="https://go.microsoft.com/fwlink/?LinkID=75284&amp;clcid=0x09"><FONT color=#0000ff>Windows Powershell has RTWed</FONT></A>! You can find the download links and more information on the <A title="Windows Vista blog" href="https://windowsvistablog.com/blogs/windowsvista/archive/2006/11/14/it-forum-day-one-windows-vista-and-windows-powershell.aspx" target=_blank mce_href="https://windowsvistablog.com/blogs/windowsvista/archive/2006/11/14/it-forum-day-one-windows-vista-and-windows-powershell.aspx">Windows Vista blog</A> or the <A title="Windows Powershell blog" href="https://blogs.msdn.com/powershell/archive/2006/11/14/windows-powershell-1-0-released.aspx" target=_blank mce_href="https://blogs.msdn.com/powershell/archive/2006/11/14/windows-powershell-1-0-released.aspx">Windows Powershell blog</A>. <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">The Windows Vista blog lists 12 Cool Features of Windows PowerShell. I just wanted to add a couple more. So here goes…<o:p></o:p></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"><A href="https://windowsvistablog.com/blogs/windowsvista/archive/2006/11/14/it-forum-day-one-windows-vista-and-windows-powershell.aspx">[upto #12 here]</A><o:p></o:p></SPAN></P>
<P><STRONG><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">13) Native support for navigating the Windows Registry &amp; Windows Certificate store</SPAN></STRONG><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"><o:p></o:p></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">Browse through the Windows Registry and Windows Certificate store like&nbsp;how you would browse through a&nbsp;folder structure on a Hard drive<o:p></o:p></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">Switch to the registry by typing </SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">cd hklm:</SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"><o:p></o:p></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">PS C:\&gt; cd hklm:<o:p></o:p></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">Browse hives like Directories/Folders&nbsp;&nbsp;<BR><BR></SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">PS HKLM:\&gt; cd software<BR></SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"><BR></SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">PS HKLM:\software&gt; dir<BR><BR>&nbsp;&nbsp; Hive: Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\software</SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"><o:p></o:p></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">SKC&nbsp; VC Name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t; FONT-FAMILY: 'Arial','sans-serif'">Its the same with Certificate store - just use </SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">cd&nbsp;cert:</SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">&nbsp;&nbsp;<o:p></o:p></SPAN></P>
<P><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">14) Native support for XML<o:p></o:p></SPAN></B></P>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">Windows Powershell has native support for XML, infact XML is a data type. Here’s an example, for simplicity sake I’m not reading the XML from a file but typing it in. Its really easy to ready XML off a file BTW.<o:p></o:p></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">PS C:\&gt; $MyXml = [xml]"&lt;Order&gt;&lt;OrderNumber&gt;11111&lt;/OrderNumber&gt;&lt;CustomerName&gt;Bill Gates&lt;/CustomerName&gt;&lt;Product&gt;Windows Vista Ultimate&lt;/Product&gt;&lt;Qty&gt;99&lt;/Qty&gt;&lt;/Order&gt;"<o:p></o:p></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">So at the Windows Powershell prompt I create a variable $MyXml and pass it a string which contains my Order XML. Notice the [xml] casting that I’m doing, so what I end up with in $MyXml is an XML Object.<o:p></o:p></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">I can then access my XML Object simply by typing it out to see the root elements<o:p></o:p></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">PS C:\&gt; $MyXml<o:p></o:p></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">Order<o:p></o:p></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">-----<o:p></o:p></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">Order<o:p></o:p></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">Or I can see the inner text of the Root elements, Windows Powershell infact formats the output for me in a nice table. It will be much better to view your XML in this way when you have say a lot more nodes within the Order root element.<o:p></o:p></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">PS C:\&gt; $MyXml.Order<o:p></o:p></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">OrderNumber<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>CustomerName<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>Product<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>Qty<o:p></o:p></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">-----------<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>------------<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>-------<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>---<o:p></o:p></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">11111<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>Bill Gates<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>Windows Vista Ul... 99<o:p></o:p></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">If I want to I can even access a particular node in my XML like this<o:p></o:p></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">PS C:\&gt; $MyXml.Order.CustomerName<o:p></o:p></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">Bill Gates<o:p></o:p></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">PS C:\&gt;<o:p></o:p></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">Well there is a whole lot more, you can even use XPATH, here is a great article on MSDN if you are looking out to play with XML using Windows Powershell - <A href="https://www.microsoft.com/technet/scriptcenter/topics/winpsh/payette3.mspx">https://www.microsoft.com/technet/scriptcenter/topics/winpsh/payette3.mspx</A><o:p></o:p></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">The list can just go on… I’d better stop. Windows Powershell – a shell you’ll fall in love with if you are an admin or a developer – just go try it today!</SPAN></P>]]></content:encoded>
    </item>
    <item>
      <title>Thursday, 15th July 2006 - Hello *New* World</title>
      <link>https://docs.microsoft.com/archive/blogs/mjeelani/thursday-15th-july-2006-hello-new-world</link>
      <pubDate>Sat, 17 Jun 2006 08:21:00 GMT</pubDate>
      <dc:creator><![CDATA[Jeelani Mohamed]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/mjeelani/2006/06/17/thursday-15th-july-2006-hello-new-world/</guid>
      <description><![CDATA[The world will never be the same - at least for me. Took me a while to let the dust settle in, and...]]></description>
      <content:encoded><![CDATA[<P>The world will never be the same - at least for me. Took me a while to let the dust settle in, and to realize that the press conference and the emails that I saw on Thursday were really real. The man responsible for changing the world, to what it is today, is talking about transition plans from the company he created from scratch. Did he choke while ending his talk and introducing Ballmer? I can't believe he said all that till the end with a broad smile. Bill Gates is to Software what Einstein is to Physics. We can't imagine Einstein having had said he will work on Physics part time can we? But then again, this is Bill Gates we are talking about - he is one of a kind - he does the right thing. Software means more to me than Physics - explains why I still have to pinch myself to actually make me believe this is all real. </P>
<P>Where ever you are reading this blog from, I can say with 93% certainty that you are reading it on the software that Microsoft created. For me Microsoft is much more than just a software company that I work for - its a way of life, everything that you do, you impact millions of people, changing the world is a habit at Microsoft. The 70,000 of us worldwide, are inspired to do that only by the *xtra larger than life* leadership. Anybody who has had even a glimpse of the passion and aggression expressed in our annual company meetings and global briefings knows Microsoft isn't to be taken lightly; this isn't just a company, its probably 1 point less than being a religion. No matter how humble Gates was being during the press conference on Thursday in saying that his contribution to the hot new products Microsoft comes out with is over estimated - Well Mr. Gates every employee in your company can do that cause he/she is inspired by you, its not *just* your technical talent, its just the person that you are that inspires everything we do. </P>
<P>Being successful is probably the easy part - what is difficult is not to let success get to your head - not to let the success we've had in the past to change us, not to let that change then cause us not to be successful in the future. Gates has been an inspiration and an icon for me in this respect. Being humble when being the worlds richest man I'm sure isn't easy. I still recall from late 2005 in my second meeting with Gates, a colleague of mine asked (the most asked question) how is it being the worlds richest man? Gates giggled - and then the reply he gave was almost identical to what he said this Thursday, with wealth comes responsibility and he feels responsible on how he spends his wealth and that he has to give back to society the wealth the society has given him in the right areas which is health and education. No one can replace Gates at Microsoft - he will be very dearly missed. I'm sure he will continue to stand by us and continue to inspire the teams at Microsoft even after two years to head out and "Change the world, in ways, it needs to be changed".</P>
<P>In the era of the dotcom boom - I remember seeing an advertisement of a company called 3rd agenda. The advertisement carried the justification for the company's name - Gods 1st Agenda was to create the world, 2nd to send his messengers to spread religion and this company was entrusted with the 3rd agenda which was to evangelize technology. At that time, way back in the year 2000, I was amused but nothing else by the wit. Today it comes back to me. I'm a religious person, have strong belief in god and his prophets, I also believe that there will no more prophets. Maybe technology was really next on Gods agenda, maybe we really are witnessing the execution of the 3rd Agenda. Nothing has changed in the past 30 years as much as Technology and Gates was at the center and was responsible for most of this change.</P>
<P>Though it’s very difficult for me to accept the fact that Gates will no longer be our Cheif Software Architect but for the nobel cause that Gates will be devoting his time to two years from now, my respect for Gates has only grown many folds.</P>
<P>Friday morning saw the dawn of a whole new era, a whole new Microsoft, a whole new world. The leadership that gates is handing over the flag to is strong, young, energetic, inspired, aggresive and passionate about changing the world in just the same way that Gates was 31 years ago. Hello *New* World. Microsoft's leadership might have changed but not its source of inspiration - which has only got stronger, with which we will build better products that out customers can derive more value from, With Gates still as our Chairman we will continue to in Gates's words “change the world, in ways, it needs to be changed”.</P>]]></content:encoded>
    </item>
    <item>
      <title>Troubleshooting problems that arise after installing the update for Microsoft Security Bulletin MS05-051</title>
      <link>https://docs.microsoft.com/archive/blogs/mjeelani/troubleshooting-problems-that-arise-after-installing-the-update-for-microsoft-security-bulletin-ms05-051</link>
      <pubDate>Fri, 14 Oct 2005 16:58:00 GMT</pubDate>
      <dc:creator><![CDATA[Jeelani Mohamed]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/mjeelani/2005/10/14/troubleshooting-problems-that-arise-after-installing-the-update-for-microsoft-security-bulletin-ms05-051/</guid>
      <description><![CDATA[If you are running XP / Windows 2000 / Windows 2003 - you MUST apply the update on...]]></description>
      <content:encoded><![CDATA[<P>If you are running XP / Windows 2000 / Windows 2003 - you MUST apply the update on <A href="https://www.microsoft.com/technet/security/Bulletin/MS05-051.mspx">https://www.microsoft.com/technet/security/Bulletin/MS05-051.mspx</A>&nbsp;to stay protected against a critical vulnerability -&nbsp;after you install the Microsoft Security Bulletin MS05-051 - any of the following problems may occur (as per the above mentioned bulletin - <EM>Systems that have been modified to non default Access Control List settings on the %windir%\registration directory may experience unexpected behavior</EM>)</P>
<P>
<TABLE class="list ul">
<TBODY>
<TR>
<TD class=bullet>•</TD>
<TD class=text>The Windows Installer service may not start.</TD></TR>
<TR>
<TD class=bullet>•</TD>
<TD class=text>The Windows Firewall Service may not start. </TD></TR>
<TR>
<TD class=bullet>•</TD>
<TD class=text>The Network Connections folder is empty.</TD></TR>
<TR>
<TD class=bullet>•</TD>
<TD class=text>The Windows Update Web site may incorrectly recommend that you change the <STRONG class=uiterm>Userdata persistence</STRONG> setting in Microsoft Internet Explorer. </TD></TR>
<TR>
<TD class=bullet>•</TD>
<TD class=text>Active Server Pages (ASP) pages that are running on Microsoft Internet Information Services (IIS) return an “HTTP 500 – Internal Server Error” error message. </TD></TR>
<TR>
<TD class=bullet>•</TD>
<TD class=text>The Microsoft COM+ EventSystem service will not start.</TD></TR>
<TR>
<TD class=bullet>•</TD>
<TD class=text>COM+ applications will not start. </TD></TR>
<TR>
<TD class=bullet>•</TD>
<TD class=text>The <STRONG class=uiterm>computers</STRONG> node in the Microsoft Component Services Microsoft Management Console (MMC) tree will not expand.</TD></TR>
<TR>
<TD class=bullet>•</TD>
<TD class=text>Authenticated users cannot log on, and a blank screen appears after the users apply the October Security Updates.</TD></TR></TBODY></TABLE></P>
<P>Please take a look at the following KB&nbsp;for a resolution to these problems - <A href="https://support.microsoft.com/?kbid=909444">https://support.microsoft.com/?kbid=909444</A>&nbsp;</P>]]></content:encoded>
    </item>
  </channel>
</rss>