As I mentioned in my last post, I will be giving my Git Fundamentals - Open up a world of community and collaboration three times this month and now we are ready for time number two! Come along to the DevOps North East User Group to hear myself and Craig Porteous[t|b] talk about The PowerShell Standards Agency and, as I said, my talk on Git Fundamentals - Open up a world of community and collaboration.
It’s been a while since I’ve posted. Work. Life. And speaking. Have all taken it’s toll on my time. It’s always at the back of my mind when I come across a problem, solve it and think ‘hey that would make a good blog post’. And then promptly get wrapped up in something else and that solution never gets shared. … but that does lead me nicely to my next big knowledge sharing event (it’s like I planned this post!
In my move away from VMware workstation I’ve been using Hyper-V more and more for virtual machines but I’ve come across a problem only recently. DNS resolution and internet browsing is noticeably slower with many pages not being able to be viewed at all. So after much frustration I decided to tackle this problem today and I found something unexpected. Along with the new Fall Creators Update released at the tail end of 2017 is a new Hyper-V NAT switch called Hyper-V (Default Switch).
Hacktoberfest is back!
The month long celebration of open source gives you a chance to brush up on your git, help open source projects and get yourself some stickers or a t-shirt!
I’ve been resisting buying a Stream Deck for a while now but finally succumbed to temptation and it arrived today. Setting it up is fairly easy but associating a program with a button does not extract the icon from the executable. So I looked for a way to extract the icon myself. And of course I looked to use PowerShell. I knew there was a Drawing namespace in .NET so I browsed the latest .
In a previous blog post I talked about working with enums in PowerShell and how useful they are. Would they not be even more useful if we could create and use our own enums? Yes, yes they would. And if you read below you’ll find out how. You’ve been able to create enums in PowerShell since v1.0. But since the introduction of PowerShell version 5 there are now two ways:
Enums are not a commonly used data type in PowerShell but after using them to force the TLS version that PowerShell would use in the previous blog post, I was reminded of how simple and useful this little used data type really is. Although they have been usable since PowerShell 1.0, they got some love in version 5. What Is An Enum? An enumerated type (called an enum for short) defines a set of values and restricts it’s use to those values.
Recently I’ve begun to move the Chocolatey packages I maintain from manual to automatic updating. Going through each package I came across an issue with Yubico Authenticator while retrieving the downloads page using Invoke-WebRequest This caught me by surprise as I was retrieving other Yubico website pages, such as developers.yubico.com, without issue. I decided to look at the SSL / TLS protocols for the pages using SSL Labs SSL online test and found the following:
The third meeting of the Scottish PowerShell User Group will take place on Wednesday 22nd June at our virtual meeting home. Agenda 7.00pm - Waiting room for networking and general chit chat; 7.10pm - Welcome, events, news and agenda (Paul Broadwith ) 7.20pm - Learn PowerShell In A Month Of Lunches Book Review & Questions (Colin Westwater ) 7.40pm - ‘Be A Good Coding Citizen’ - Presentation & Questions (Paul Broadwith ) 8.