Some time ago I posted a script to remotely enable WinRM on a machine. I have to admit it was fairly kludgy in that it had a lot of moving parts that had to execute just right. Registry edits to turn on features, create listener config, modify firewall rules, and then cmdlets to remotely stop […]
I’ve learned that you need a Host-only network adapter for both VM’s in order for the workstation to connect to the server. Thanks http://www.duncansutcliffe.com/?p=16
I can’t believe it’s already been over 2 years since I started this blog and I still don’t post nearly as often as I’d like. I wish I could have something useful to post every week but, alas, I do not. I’m not even sure how much my blog gets seen (by real people) let […]
Had a need to write a re-usable function at work to compare version numbers so that an action could be taken accordingly. It’s pretty simple but thought I’d share it anyway. Function verCompare($ver1, $ver2) { # returns whether ver1 is Less, Greater, or Equal to ver2 $ver1Array = $ver1.Split(“.”) $ver2Array = $ver2.Split(“.”) # Decide which […]