@ -40,12 +40,10 @@ function Get-BetterADUser {
}
function fsh {
param (
[string]$ComputerName,
[string]$ComputerName
[pscredential]$Credential
)
$usr = ($Credential.UserName -split '@')[0]
$host.UI.RawUI.WindowTitle = $ComputerName
$host.UI.RawUI.WindowTitle = '{0}@{1}' -f $usr,$ComputerName
Enter-PSSession @PSBoundParameters @args