Run a powershell script if the computer contains the correct powershell version

Several times I encountered that a computer I was running my scipt on, didn't support a certain parameter or a certain command because it didn't have Powershell 4 installed. Thus I thought it would be time to create a default error-handling for each of my scripts which checks if the computer runs the correct Powershell … Continue reading Run a powershell script if the computer contains the correct powershell version