Sharing Code
I don't write code for production systems these days, but still get lots of enjoyment out of writing scripts to automate my home lab as much as possible. PowerShell has become such an amazing tool that I've only scratched the surface of and it's something that every IT Pro should have at least a cursory knowledge of.
I've recently made the jump into GitHub for managing my code (almost 2 years after first signing up), having never really used a code management or source control solution previously.
I'm a user of both OS X and Windows and recently wrote about how I'm using GitHub and Microsoft Visual Studio Code to manage and write code on both platforms. I can't express enough how these two tools have improved how I approach writing scripts. I'm not blazing any trails her, but if you've not used either before, I highly recommend taking a look at both tools.
While using a source control solution such as GitHub makes my like easier, it's also a great way to share my code with the community. Not just as static code that I may have previously posted in an article on my blog, but as live code that I can push to whenever I make an update locally.
As such, I've recently made available two projects on GitHub:
- A collection of PowerShell scripts - I've created scripts and functions for various environments including Hyper-V and Citrix XenDesktop.
- A collection of silent install scripts for various applications that I've built up over a number of years (more than I care to share).
I'm really pleased to share these project and will update reasonably regularly. Because these are hosted on GitHub you can use and improve them and provide feedback directly on GitHub.
As always, these are provided as is and I recommend testing before attempting to use them in a production environment.
Such a nerd bro!
Thanks for sharing your code, I really appreciate it as it's not something we do on a whim - specially something that has a lot of time put into it.
Sublime Text 2 on OS X though man... :D