Published on 18 Sep 2015
There are many examples how to install Windows Updates from PowerShell using the .NET classes in the namespace Microsoft.Update.Session. Those implementations are all blocking meaning that it is not possible to retrieve progress information. This post presents VBScript code to install Windows Updates asynchonously which cannot be done from PowerShell. Although this code does not solve the issue that downloading and installing Windows updates cannot be performed in a PowerShell remote session, it provides better visibility of the progress.
Published on 15 Sep 2015
Unfortunately, it is often necessary to call external programs from PowerShell. Whenever this is done, the controlling code needs to process output and errors. Some of those tools implement long running tasks which do not provide any progress information. This post presents a code to intercept progress messages from standard output to display progress from external programs.
Published on 11 Sep 2015
Whenever a PowerShell job attempts to display progress, it is intercepted and stored for progressing by the controlling code outside the job. This allows for displaying progress from PowerShell jobs on the console.
Published on 09 Sep 2015
I have recently build a custom Minecraft server for some friends. Although there is a lot of content about Minecraft and the server software out there, I have not found a comprehensive guide how to go about this. Therefore this post describes how I have built and configured the server software.
Published on 08 Sep 2015
It is often necessary to repeat the same code with different arguments and use PowerShell jobs to speed up the process. Depending on the resources required by the code it may be necessary to limit parallel execution to a certain number of parallel jobs. In this post, I will present code to use PowerShell jobs to process such a queue with throttling.
Published on 12 Jul 2015
I recently talked about PowerShell Desired State Configuration, #PSDSC at #DCUG - a German speaking Citrix User Group. I’d like to share my slide deck and the code for my demo.
Published on 21 Jun 2015
Last week I talked about #Azure #RemoteApp at #VCNRW, the Virtualization Community NRW in Cologne, Germany. I’d like to share my slide deck and the code for one of my demos.
Published on 15 Jun 2015
I had the chance to talk about PowerShell Desired State Configuration or short #PSDSC at #E2EVC Berlin. I’d like to share my slide deck, the code for my demos and the videos I recorded for two of my demos.
Published on 09 Jun 2015
Today I have come across one of those weird issues that take a lot of time to analyze and resolve. One single file was not replicated using DFS-R. But if the content was copied to a new file, replication worked as expected. Let me show you what caused this behaviour.
Published on 09 May 2015
After finally feeling familiar with PowerShell Desired State Configuration (PSDSC), I decided to begin expanding the capabilities provided by the resource kits published by Microsoft. What better area to focus on than Remote Desktop Services?! Therefore, I have created a new DSC resource for Deploying Remote Desktop Services using PowerShell Desired State Configuration: cRemoteDesktopServices.