$a = (Get-Host).UI.RawUI $a.ForegroundColor = "white" $global:CurrentUser = [System.Security.Principal.WindowsIdentity]::GetCurrent() $a.WindowTitle = $env:COMPUTERNAME + " - " + $CurrentUser.Name + " - " + $Host.Name + " " + $Host.Version Clear-Host Write-Output "Windows PowerShell" Write-Output "Copyright (C) 2009 Microsoft Corporation. All rights reserved." Write-Output ""