April 5th, 2010,
The 2010 Scripting Games are coming...
Fire up your scripting editor and get ready to write some PowerShell!
Check out the Study Guide and register for the games!
-Steven Murawski Co-Community Director
Sapien just released iPowerShell V2, which is now available in the Apple app store. What is iPowerShell? From Ferdinand Rios -
Sapien just released iPowerShell V2, which is now available in the Apple app store. What is iPowerShell?
From Ferdinand Rios -
From Marco Shaw - Check out http://www.manning.com/siddaway Get the ebook or printed edition (not available yet), and use the discount code "marcoshell40" when checking out and get 40% off the regular...
From Marco Shaw -
Check out http://www.manning.com/siddaway Get the ebook or printed edition (not available yet), and use the discount code "marcoshell40" when checking out and get 40% off the regular...
Check out http://www.manning.com/siddaway
Get the ebook or printed edition (not available yet), and use the discount code "marcoshell40" when checking out and get 40% off the regular...
PowerShellCommunity.Org is happy to announce that Thomas Lee, Powershell MVP and noted trainer, is joining our ranks as a Community Director. Thomas is also responsible for a good many of the PowerShell...
PowerShellCommunity.Org is happy to announce that Thomas Lee, Powershell MVP and noted trainer, is joining our ranks as a Community Director.
Thomas is also responsible for a good many of the PowerShell...
Check out the PowerShellPack from James Brundage, which contains modules for making GUI's, add-ons for the ISE(Integrated Script Editor), system tools, and...
PowerShell V2 Virtual Launch Party! Jeffrey Snover, Hal Rottenberg and Jonathan Walz (hosts of the PowerScripting Podcast) hosted a PowerShell V2 Virtual Launch Party on Thursday, Oct 22nd, 9:30 PM EDT (GMT-4). More details...
PowerShell V2 Virtual Launch Party!
Jeffrey Snover, Hal Rottenberg and Jonathan Walz (hosts of the PowerScripting Podcast) hosted a PowerShell V2 Virtual Launch Party on Thursday, Oct 22nd, 9:30 PM EDT (GMT-4).
More details...
Written by: Karl Prosser 6/3/2008 10:40 PM
Many people recently have asked how to determine programatically what version of PowerShell their script is running in. Well in version two there is a $psversiontable variable, but this sadly isn't in V1. All is not lost though, as you can write a simple function to return a version object for v1. Below is a quick function that I wrote that I have been using for the last year or so. function get-psVersion { if ((get-Variable psversiontabl[e]) -eq $null) { new-Object system.Version "1.0.0.0" } else { $psversiontable.psversion } } -Karl
Many people recently have asked how to determine programatically what version of PowerShell their script is running in. Well in version two there is a $psversiontable variable, but this sadly isn't in V1. All is not lost though, as you can write a simple function to return a version object for v1. Below is a quick function that I wrote that I have been using for the last year or so.
function get-psVersion
{
if ((get-Variable psversiontabl[e]) -eq $null)
new-Object system.Version "1.0.0.0"
}
else
$psversiontable.psversion
-Karl
0 comments so far...
We have a new sponsor! Introducting Pragma Systems. See the home page for details.