Home Forums Article Discussions Article Discussions by Author Discuss content posted by Ben Miller Stairway to SQL PowerShell Level 1: SQL PowerShell Basics RE: Stairway to SQL PowerShell Level 1: SQL PowerShell Basics
williamn
SSC-Addicted
Points: 435
More actions
August 8, 2012 at 10:44 am
#1523245
I noticed this, too. I played around a bit trying to get the version (major & minor) included in the title as described and arrived at this:
$wintitle = $CurrentUser.Name + " " + $Host.Name + " " + $Host.Version.Major + "." + $Host.Version.Minor