Rob van der Woude's Scripting Pages
Powered by GeSHi

Source code for psver.ps

(view source code of psver.ps as plain text)

  1. # Get PowerShell executable file version
  2.  
  3. $PsVer = ( Get-command PowerShell ).FileVersionInfo.ProductVersion
  4. Write-Host "PowerShell Version $PsVer"
  5.  

page last uploaded: 2015-08-24, 21:15