Tag Archives: #Requires

Winter Scripting Games 2014 Tip #2: Use #Requires to let PowerShell do the work for you

In Version 2 of PowerShell, you had the ability to use #Requires –Version 2.0 to ensure that your scripts/functions would only run at a specified PowerShell version to prevent folks running an older version from wondering why things weren’t working … Continue reading

Posted in powershell, V3, V4, Winter Scripting Games 2014 | Tagged , , , , , | 3 Comments