Tag: function

PowerShell – Passing all function parameters via 1 config object using splatting a hastable

Do you ever write a function with so many parameters that it reaches the right end of your screen? In that case, putting all parameters in 1 object might be a usefull replacement, right? Powershell supports a method to achieve exactly that! It is called splatting. We create a PowerShell hastable and put all parameters in […]

PowerShell – How to execute PowerShell code before and after a given scriptblock

I hope the description was clear enough to understand what i mean 🙂 As a programmer or “scripter” you really want to copy/paste as less as possible and keep the code clean. This reduces the chance of failures/bugs and much more readable. For this reason you have to use functions when code is used more than […]

About Me

My name is Bart Scheltinga and I live in the Netherlands. I work as a Senior Citrix Administrator for Conclusion FIT.

MCSA Windows Server 2012
CCA-V: Managing Citrix XenDesktop 7 Solutions CCP-V: Deploying Citrix XenDesktop 7 Solutions


My Twitter Feed