Tag Archives: V3

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

Using $PSDefaultParameterValues in PowerShell

Recently I saw someone posted a reply to one of my comments on a blog article that he had never heard of $PSDefaultParameterValues before now.  With that, I will give you a walkthrough of this feature added in PowerShell V3 … Continue reading

Posted in powershell, V3, V4 | Tagged , , , | 3 Comments

PowerShell V3 is RTM!

You heard it! PowerShell V3 is now available to download as RTM! It is already installed on the RTM versions on Windows 8 and Windows Server 2012. For the down level systems (Windows 2008, 200R2 and Windows 7), you can … Continue reading

Posted in News, powershell, V3 | Tagged , , | 1 Comment

Run PowerShell in Version 2 While PowerShell V3 RC Is Installed

Many of you have downloaded the latest build of PowerShell V3 (currently in RC). While PowerShell V3 is amazing, you might have wondered how you can run some scripts or other things with PowerShell V2 that are just not working … Continue reading

Posted in powershell, V3 | Tagged , , | 4 Comments

Working With New CmdletBinding Arguments HelpURI,SupportsPaging and PositionalBinding In PowerShell V3

With PowerShell V3 out (still in Beta), there are some new things with the CmdletBinding that includes the following items: HelpURI SupportsPaging PositionalBinding Each of these has their own specific uses and I will dive into each one to show … Continue reading

Posted in powershell, scripts, V3 | Tagged , , , , , | 1 Comment