Last weekend we wrapped up the PowerShell Conference Asia 2016 in Singapore and it was a great event. I had the opportunity to speak at the event and present a number of sessions. This year we had a healthy mix of PowerShell, DevOps and everything else. The crowd was very engaging, so if you attended the PSConfAsia 2016: “Thank you for being a great crowd!”.
I would like to give a big shout-out to Milton Goh, Matthew Hitchcock, Sebastian Szumigalski, Ravikanth Chaganti and Benjamin Hodge for putting this event together with the support of the sponsors of the event. It was a great opportunity for myself to interact with the PowerShell community in Asia and I thoroughly enjoyed it.
Here are some picture to give you an impression of the event:
Group picture at PSConfAsia
Pre-Conference session with Jason Yoder and me
Presenting Securing PowerShell
Hemant and Jason presenting
IISReset talks about performance
Group photo together with Flynn
Presenting at the pre-conference
Jason Yoder presenting
I presented and/or recording the following sessions for the conference:
Last Saturday I received an email from Microsoft that I have been renewed as a Cloud and Datacenter MVP. This year was my first renewal so obviously I am very happy that my contributions over the past year have been rewarded in this fantastic way.
I would like to thank everyone in the technical communities I have participated and contributed to, as I would not have been able to do this by myself. Through your participation, contributions, feedback and comments I have been able to grow and share my technical expertise.
Over the past year I have joined many more communities and participated in numerous events and I look forward to many more interactions with everyone over the coming year. Feel free to contact me if you would like me to speak at any events you are organizing. My contacts details are listed on my About page, or leave a comment below this post.
Last weekend we gathered for yet another PowerShell Saturday, this time hosted in Amsterdam by IPsoft who generously provided us with the space to hold our meeting. This was the second time we organized the PowerShell Saturday event and it was nice to see that once again we had a great turnout. Not the least because of the great line up of speakers, during the event we had the following four speakers:
During the event we took a number of pictures to give you an impression of event:
Flynn Bundy presenting
Javy de Koning presenting
View from the building
Matthew Hodgkins presenting
View from the building
Irwin Strachan presenting
During the event Thierry Cailleau provided us with live reports of the content being presented including notes and links in our Slack channel, dupsug.slack.com. Feel free to join us there to catch up on the details of the day or if you have any questions regarding the content that was shared during PowerShell Saturday.
After a full morning and afternoon of presentations we continued on with the Open Stage, this is the section of the PowerShell Saturday where we will have room for several short presentations, the opportunity to share something interesting you have found out when working with PowerShell and a moment to discuss common issues. In which both me and Flynn shared some ideas on Docker and exporting PowerShell objects as binary streams.
For the full list of materials shared during the event and the open stage please refer to this overview of links:
I am happy to announce that I have been accepted as a speaker at the PowerShell Conference Asia in Singapore! I will be presenting two sessions and I will do joint session together with Jason Yoder. I will be presenting on the following topics:
The PowerShell Conference Asia is held in Singapore for the second year this year and I am happy to once again be a part of this event. To cite the psconf.asia website:
“Join us for the second PowerShell Conference Asia, held in Singapore, where PowerShell speakers from Asia and around the world come together to bring attendees in-depth PowerShell and DevOps content.
Speakers include 4 members of the PowerShell team from Microsoft headquarters in Redmond and a strong line-up of MVPs, well-known international speakers, and community contributors. They’ll cover in-depth topics on the PowerShell language and how you can use PowerShell to automate the technologies you use every day.”
If you are interested in joining the conference or if you would like to know more about it, visit the website, follow @psconfasia on Twitter or join our Slack group psconfasia.slack. See you in Singapore!
Last week as DuPSUG we organized another Dutch PowerShell User Group meetup with no one less than the Microsoft Scripting guy presenting two sessions at our humble event. The event was sponsored by: Methos
During the event we had the following sessions and speakers:
Approximately one year ago I saw the number of downloads tick over a hundred thousand, today my total downloads from the TechNet Script Gallery has reached 250,000. To celebrate this milestone I have uploaded all of the scripts I have stored in the TechNet Script Gallery also to GitHub to simplify the updating and collaboration with others.
My personal preferred method of installing and sharing scripts is by using the PowerShell Gallery, which is available at PowerShellGallery.com or by using the PowerShellGet cmdlets, for example the following two lines of code can find the scripts and modules I have currently posted:
As I personally mostly see benefit in sharing of modules and not so much single scripts and function I am working on converting some of the scripts I have written into modules and once they are finalized I will upload those to the PowerShell Gallery as well. So my question to the community is as follows, which improvements are you most interested in or what would you like to see next?
Feel free to use the comment section underneath this post to share your ideas or feedback. That is it for now, until the next milestone!
As I was looking into some errors in my event log I found that I had a number of certificate errors in the event log. In order to investigate this further I wanted to take a look at the certificate in the event log. There are a number of tools available to extract this from the event log but I wanted to be able to automate this in the future so I settled on writing this in PowerShell.
I had the following events in my system event log:
The interesting portion is what is stored in the XML, specifically EventData – Binary:
In order to retrieve this event using PowerShell we can run the following code:
The binary data is encoded as pairs of hexadecimal numbers, so this needs to be converted before we can write this to disk. In order to do this we split the string into pairs of two and then do a conversion using the ToByte method of the System.Convert class:
Now that we have PowerShell output an array of bytes we are ready to write the output of the event log to file. Because we know this should be a certificate all we have to do is write this to a .cer file and we will have a working certificate:
Now the following functional certificate will be available on the desktop:
So there we have it, in this article we have identified the event that contains a certificate that. Afterwards we went into the xml of this event and retrieved the binary eventdata, converted this to a byte array and then wrote this to file.