SCCM: Improved MDT – “Execute Runbook” Script

Hello EverybodyHere is a little xmas present from Team CTGlobalThis script is an improved version of the script used by MDT to for the “Execute Runbook” StepI has the following improvements:Success/Failed checkRetry if the webservice call failsRetrieval of the correct result, when a runbook has failed over to one or more servers.The currently included script in MDt, will accidently get the first result, which is the failed result, while the newst result is the succeded one.This improves stability of the step by far.This has been tested in a scenario that contains around 800 servers in each patch windows.Each server executes [...]

#PS5.1–Import-PSSession against JEA endpoint Error

Today I implemented a JEA solution in PowerShell, but at the customer site we hit an error which I did not see in our test environments. When we tried to execute Import-PSSession we got this error: Running the Get-Command command in a remote session reported the following error: A parameter cannot be found that matches parameter name ‘PowerShellVersion’ Searching the net found this issue in github for PS6.0, but there is no information around a fix in PS5.1 https://github.com/PowerShell/PowerShell/issues/4195 I asked my friend Aleksandar Nikolic and he suggested to try and make a workaround for Get-FormatData. So we did, and [...]

By |2018-12-12T17:58:08+01:00december 11th, 2018|Powershell|3 Comments

MSiX the future of repackaging

When it comes to installing Windows applications, there are definitely some improvements that could be made from a user perspective. Those are exactly the kinds of improvements that MSiX aims to address. When a user installs an application, and then decides that they no longer want the application, it can be messy to get it removed, particularly if it is a third-party application that has its own rules. The same goes for automatic updates to the app. The first thing that MSiX tries to address is what is left behind by these applications once they are uninstalled. Often, users have [...]