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: PowerShell for N00bs 3: What's a.k.a. short for?

    "Also known as." It's an abbreviation, a TLA. (What's a TLA short for? "Three Letter Acronymn." See: recursion, definition.) In PowerShell for N00bs 2 , we snuck something in the last example: PSH> (gm -InputObject [string] | where-Object {$_.name -eq 'replace'}).definition System.String...
  • Blog Post: PowerShell for N00bs 2: Power Under the Hood

    "Hello, World!" That's how you write "Hello, World" in PowerShell. No, this isn't a flashback to PowerShell for N00bs 1 . Back then, we skimmed over some interesting concepts. Specifically: PowerShell is Object Oriented. "Hello, World" (and every object) has a ToString() method. Object...
  • Blog Post: PowerShell for N00bs 1: Hello, World

    "Hello, World!" That's how you write "Hello, World" in PowerShell. Give it a try: PSH> "Hello, World" "Hello, World!" PowerShell has some very unorthodox behaviours, such as "To execute a string, print it." (There's more to it than simply "print it," but that's for later.) Actually, if it...
Page 1 of 1 (3 items)