Lessons Learned

My drop-site for interesting snippets and tips. If it's useful to you as well, great!

Browse by Tags

Tagged Content List
  • Blog Post: Something I Should Have Done a While Ago: $continue

    $ErrorActionPreference is your friend.  However, ‘SilentlyContine’ isn’t, especially when it’s misspelled as is this case.  If we could Tab-complete it, that’d be great. Hey…. I’ve added this to my $PROFILE (actually my CommonFunctionLibrary.psm1 from my RDP-friendly Profile System ) $Continue...
  • Blog Post: Enums, Enums, Enums, a One-Liner

    Enums are short for Enumerations, which is a fancy way of saying, “map this [string] to that [int].”  They’re handy when you want to limit choices, such as ‘Continue’, ‘SilentlyContinue’, etc. In this case, I’m looking at the System.Net.NetworkInformation.OperationalStatus [enum]. How do I get the...
  • Blog Post: One-Liner(s): X509 Certificate Store Names and You

    All right, we know that we can access a remote computer's various X509Certificate stores via .NET, and 'My' corresponds to "Local Computer\Personal\Certificates". What are the other names? http://msdn.microsoft.com/en-us/library/system.security.cryptography.x509certificates.storename.aspx That...
Page 1 of 1 (3 items)