Tag Archives: VSCode

PowerShell Conference and Cloud Automation

The last two weeks I had the opportunity to speak at a number of events. The PowerShell Conference Europe in Hanover and technical user groups in the UK. This post is intended to provide information about the various events and is intended to share the information in regard to the sessions.

Last week, 17-20 April, the PowerShell Conference Europe was held again. This event was once again a great success, with sessions presented by the PowerShell Team and experts from their respective fields. Enthusiasts gathered from all over the Europe, and the world, to participate in this event. There were plenty of lively interactions between attendees and speakers and the PowerShell team. All in all there was a great atmosphere of sharing and collaboration at the conference.

The location of the conference, unchanged for 3 years now, housed the 300+ attendees easily. In contrast to last year the rooms in which the sessions were held were located more conveniently so that limited the amount of walking around the venue. On the last day of the conference an German X-Factor event was being held in the same venue, so this resulted an interesting mix of people in- and around the venue.

I could not mention this years PowerShell Conference without at least mentioning the fact that #SadJoey hashtag was a trending topic at the conference. Due to an excellent picture tweeted by PowerShell team member, Steve Lee.

To give you and impression of the event I have shared some pictures of the PowerShell Conference Europe here:

I presented the following three topics, so head over to my GitHub account to grab the slides and code, as always it is stored in the Events repository:

All presentations and accompanying code can be found in the PSConfEU GitHub repository here. All sessions have been recorded and this post will be updated with the links to the videos once it becomes available.

The week following the PowerShell Conference I left for the UK to speak at various PowerShell, WinOps and Cloud Infrastructure user groups. The theme of the topics was mostly focused on Cloud Automation using Azure Functions and Microsoft Flow in combination with several other products of the Office 365 suite.

As the sessions in the UK were in the week after the PowerShell Conference, Tobias Weltner was so kind to gift two PSConfEU shirts for the user groups in the UK. The best question was rewarded with the polo with the PSConfEU logo embroidered on it. This was of course a tough call, and for the second shirt I opted for the always reliable Get-Random cmdlet.

It was impressive to see everyone turn up for the technical meetups, as all of them took place in the evenings and the Microsoft Flow workshop was held on Saturday. There are a lot of people with passion for their jobs and the technologies they work with. It was great to meet you all, thanks for your interest and the engaging discussions, both after as well as during the sessions.

The slide decks, labs and code I have used are stored into my GitHub account in the Events repository:

The big take away for me is that fueling this passion in the technical communities is important and sharing ideas is what drives this. By doing so we are able to learn from each other and improve our technical abilities. This would of course not be possible without the support of all the sponsors, and in my case my employer Rubrik, as they make it possible for me to participate and contribute to the technical communities.

I also put the slides up on SlideShare to make it easier to view and share:


Summary of PowerShell Conference Europe 2017

Last week I was lucky enough to attend and speak at the largest European PowerShell conference, PowerShell Conference Europe in Hannover.  At the conference I was surrounded by some of the best and brightest in the my field, an overwhelming and educational experience. I think it is fair to say this has been one of the best events of its kind and my thanks goes out to Tobias and the PSConfEU team for putting such a great event together.

If you missed out on the event then there is no need to fret as almost every session has been recorded and the PSConfEU team is currently working on making sure all content is available on the PowerShell Conference Europe YouTube channel:
YouTube icon Playlist: PowerShell Conference EU – PSCONF.EU 2017

To give you an impression of the event here are some pictures of the PowerShell Conference:

For the actual code and presentation slide decks that were used by all presenters you can check out the GitHub repository:
GitHub – PSConfEU – 2017

More information is continually posted, both by the PSConfEU team as well as other speakers and organizers. You can expect blog posts on the content I presented on during the conference. Let me know what topics you are most interested in and I will use that as input for upcoming blog posts.

I presented the following three topics, so head over to my GitHub account to grab the slides and code, as always it is stored in the Events repository:

Furthermore I have also uploaded my presentations to Docs and SlideShare.


Virtual PowerShell Presentation Microsoft User Groups Singapore

Last Friday I presented at the PowerShell Meetup of the Microsoft User Groups based in Singapore. Having been a speakers at the PowerShell Conference Asia, which is also held in Singapore, for the past two years, it was nice to virtually be present in the Microsoft offices again. 

The session I prepared was on the topic of writing PowerShell code, what tools to use and how to leverage the strengths of those tools. I focused the presentation on using both Visual Studio Code, VSCode, and the PowerShell ISE in combination with ISESteroids.

I have uploaded all the materials I used during my presentation to my Events GitHub Repository, which is available here:

GitHub – Jaap Brasser – Events – MSUG Singapore

To get an impression of the event, the event organizer Sebastian Szumigalski was kind enough to provide me with these pictures of the event, be sure to check out his blog it contains a lot of great content. Here are some of the photos to give you an impression of the event.

The PowerPoint slides are also available on SlideShare:


Dutch PowerShell User Group – 10th Edition

Last Thursday we hosted the tenth Dutch PowerShell User Group at Rabobank in Utrecht. It was another full day event starting at 9AM and finishing at 6PM. For this event, we had a diverse range of speakers and as a highlight we had Jakub Jareš visit our user group and giving two presentations on proper testing with Pester and Continuous Deployment for PowerShell.

Due to the enthusiasm of Ben van Zanten, Bartek Bielawski and Daniel Both we had three surprise speakers that added to our already full day of session. Our complete program of the day consisted of the following:

09:00 10:00 Jakub Jareš Continuous deployment pipeline for PowerShell modules
10:00 11:00 André Kamman Fighting SQL Server Configuration Drift with Dynamic Pester Tests
13:00 14:00 Jakub Jareš Biggest mistakes when testing with Pester
14:00 15:00 Ralph Eckhard & Sven van Rijen Keep up with NOW! Automate (re-)building your homelab – on steroids!
15:00 16:00 Ben van Zanten Splatting and building new AD forests
16:00 17:00 Jaap Brasser The best tool for the job: Working with VScode and ISE
17:00 17:30 Bartek Bielawski & Daniel Both Distributed configuration management and source control

I have uploaded all the materials I used during my presentation to my Events GitHub Repository, which is available here:

GitHub – Jaap Brasser – Events – DuPSUG 10

For the Dutch PowerShell User Group we maintain a separate repository which we keep updated with all presentation materials as they are made available by our presenters, this is available here:

GitHub – DuPSUG – DuPSUG 10

We would like to extend our thanks to our event sponsor, Rabobank for sponsoring us. The speakers and attendees alike for taking time out of their busy schedules to attend our meeting. To give you an impression of the event here are some pictures of the day:



Windows 10 – Start Windows applications from Bash

Working with Bash on Windows, I can say that it significantly simplified the way I can work cross-platform. It has allowed me to use native Linux tools, when working with Linux systems, which is a big step up from using a mix of compiled for Windows Unix tools and GUI applications. Because of this unique functionality Windows 10 has a big lead over any other platform as my day-to-day platform.

For example it is possible to add a new Windows users account directly by using the net.exe tools:

net.exe user /add testaccount

Alternatively it is also possible to start Windows PowerShell in Bash to execute a command, for example it becomes possible to use PowerShell to determine which processes are running in the Windows environment and the ps command to determine what is running in Linux:

powershell.exe -nop -command "Get-Process | Select-Object -First 10"
ps -aux

For me the greatest advantage is the fact that Windows executable files can also be directly called from bash, simplifying the interaction between the different OSes. An example of this is opening explorer in your current working folder in the bash terminal:

explorer.exe .

When a path is not accessible for the Windows application, for example anywhere in the Unix file system, a proper error message will be displayed:

explorer.exe .

Using this same method it is also possible to add the path to your favorite script editor to the Bash on Windows path allowing them to be directly called from the console. In the following example I will show how to open VSCode directly from Bash:

ls README.md
export PATH=$PATH:/mnt/c/Program\ Files\ \(x86\)/Microsoft\ VS\ Code/
Code.exe README.md

For more information and example of what is possible with the Bash commandline on Windows or I recommend following the Windows Command Line Tools For Developers blog on MSDN.