Lessons Learned

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

April, 2014

Posts
  • Lessons Learned

    Why Don’t I Use [Parameter(Mandatory=$true)]$ParameterName?

    • 0 Comments
    PowerShell’s Domain Specific Language for describing command-line parameter attributes (see about_Functions_Advanced) offers many features.  It’s powerful, versatile, and allows scripts to implement some of the worst features of true cmdlets. What...
  • Lessons Learned

    Selecting an XML Element by #text value

    • 0 Comments
    This is actually just a wrapper for the [text()=’value’] XPATH attribute.  As I said in a previous post, this blog is my own knowledge base.  When I need this, and I’m sure I will, I’ll remember writing this entry, search my blog, and there...
  • Lessons Learned

    Setting Cross-Forest Passwords

    • 0 Comments
    In my test labs, some of the more specialized testing labs (perf, specifically) have one-way trust with the larger test domain.  This means I can set (or, in the case of some coworkers) reset credentials when they don’t log into the smaller domain...
Page 1 of 1 (3 items)