Hi all, over the past years I have written a lot of PowerShell code for Microsoft System Center 2012 (R2) Configuration Manager. A lot of this code made it onto this blog and some of it is even pretty popular (thanks guys!). However, with my recent change of jobs I have just got no time anymore to support any of those scripts. This comes down to a couple of reasons: not enough time no test environment anymore really, like really not my focus anymore I am going to leave the code here on my blog of course, but it’s also already on Github: https://github.com/davidobrien1985/ConfigMgr Check here for the ConfigMgr 2012 R2 […]
On Twitter I was following a conversation where someone said that he needed an easier way to publish PowerShell modules to the Microsoft PowerShell Gallery. His issue was that there were too many manual steps involved in publishing to the Gallery. Actually, publishing is really easy, but all those tests (Lint tests, Unit Tests, Script Guides, etc.) take some time to run manually. This is where automation helps. This article will focus on the tools and the configuration used (in MY environment) to accomplish Continuous Integration.
One very important aspect of deployments and the tools used for deployments is the security of sensible data like passwords, user names, server names, connection strings and such. It is important to make sure that these information do not get into the hands of someone who isn’t supposed to have them. That’s why you should not store these in your scripts – in clear text. (seen this a lot of times unfortunately) This article will explain how the Configuration Management tool Ansible can help make your deployments more secure.
I speak to a lot of people at a lot of user groups, Meetups (like the Melbourne PowerShell Meetup) or conferences and a lot of them seem to not have heard of Ansible yet. To be fair, Ansible is still very new to the Microsoft ecosystem and Microsoft is still quite new to the whole Configuration Management thing. These people are instantly interested in what Ansible can do and usually ask me “so, how do I start?” This obviously always depends on what type of person you are and how you learn. I for example need to actually use technology, otherwise I won’t understand it properly. Just reading about it […]
I sometimes find myself in a situation where I need to do something on Github, but, because I still once in a while use Windows machines which don’t have any git installed, I have to go and use the Web UI, pretty clunky. Github API Fortunately github offers a great Rest API with an awesome documentation. https://developer.github.com/v3/ All calls to the Github API are over https and accept and respond with json. From PowerShell it is very easy to interact with this web API via Invoke-WebRequest or curl. The latter however is not the actual curl, but just an alias for Invoke-WebRequest. Github authentication Most Github API calls need authentication to happen before interacting with […]