What does $PSVersionTable tell you?
Code: Select all
Windows PowerShell
Copyright (C) 2009 Microsoft Corporation. All rights reserved.
PS C:\Windows\System32\WindowsPowerShell\v1.0> (Get-Host).Version
Major Minor Build Revision
----- ----- ----- --------
2 0 -1 -1
PS C:\Windows\System32\WindowsPowerShell\v1.0>