Lessons Learned

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

February, 2012

Posts
  • Lessons Learned

    Clock Skew and You

    • 0 Comments
    We had an issue where the clocks on various hosts got offset beyond the margin allowed by an application we were testing. Here's a way to scan hosts for their clock skew relative to a known good server: function Get-RemoteTime { param ( [ String [...
  • Lessons Learned

    Set-ExecutionPolicy Fun

    • 0 Comments
    Hm, I'm surprised this isn't included Out-Of-The-Box. Let's say I have a new deployment of machines and I need to set the ExecutionPolicy for each of them. Now, assuming I'm a domain admin, I should be able to do it remotely: Function Enable-PowerShell...
Page 1 of 1 (2 items)