The Surly Admin

Father, husband, IT Pro, cancer survivor

Accommodate or Dictate Your Scripts

I’ve been thinking a lot about this lately.  What, you ask?  How to approach writing a script or advanced function.  Most of the time I’ve always in the accommodate world, where I try to imagine every scenario that might happen and account for that in my script.  But is this the right approach?  Should I instead simply dictate that this is how you use the script?  A lot of people do it (VMware requires Connect-VIServer before you do anything).  Should I start doing the same?

Continue reading

December 14, 2015 Posted by | General | 2 Comments