Cheatsheet might be a bit of a lie though TBH us bloggers just call something a cheat sheet when we can’t be bothered writing verbose instructions. I’ve made a few Powershell functions now and there’s a few bits and bobs that seem like they’d be really easy to do but they are not. Now it’s possible that all this info is in the massive Functions Powershell Developer reference but I am lazy so have collated the stuff I end up looking to see how I solved before into this blog post.
This will be short one and mostly will just be an example of how to do it without much pizazz. Though not completely bereft of it, since the people want a show!! This didn’t seem to be coveed in Terraform AzureRM docs or any another blog I could find, at least not clearly. As part of throwing up a sandbox ansible environment I was trying to figure out a way to run the ansible script in github that opens up comms on the machine being spun up so I could connect.
Hello there ! New blog, new post. I know what you’re thinking, how can he keep up this breakneck speed of posting a whole 500 words every few months?! I’m just that good basically. Also no quality checks. Just. None. Keeping it nice and quick then, but we’ll both be satisfied. Shortish script to get you the external IP for Microsft Hosted Agents in Azure DevOps (ADO). It’s in Powershell and will work on ubuntu or the windows agent as far as I’ve tested.
A Free Powershell Repository with CI CD in 9 steps! …and I do most of the work for you That sounds like an emmy award winning blog right there ! My main reason for writing this blog, much like a lot of people’s is: I really want Microsoft to give me an MVP Love. Okay it’s REALLY it was way more hassle than I expected for some bits of it so thought I’d write it down in case I forget about it.
Wot are you on about ? TBH this has been superceded by Lability which is much better. just google that. It’s much better than the trash I did If you‘re trying a lot of random stuff , you probably end up spinning up a lot of evaluation domains. 6 months is quite a long time but even so, remaking the whole thing is a total pain in the hoop. Sure you can use Azure, and should for some of it.
Source Control is so EASY Skip to instructions Are you or your team a bit old school? PowerShell‘s kind of just crept up on you out of nowhere and suddently everyone‘s using it and some stuff isn‘t even in the GUI and some stuff doesn‘t even have a GUI and you don‘t know where to start and what if you break everything and what in the hell is a Git. Back in the day a Git was what you called someone whose policies on appropriate behaviour you didn‘t agree with and you certainly didn‘t want it in your team.