diff --git a/src/Microsoft.PowerShell.ConsoleHost/host/msh/ManagedEntrance.cs b/src/Microsoft.PowerShell.ConsoleHost/host/msh/ManagedEntrance.cs index 0ab20d332..cd174ef6e 100644 --- a/src/Microsoft.PowerShell.ConsoleHost/host/msh/ManagedEntrance.cs +++ b/src/Microsoft.PowerShell.ConsoleHost/host/msh/ManagedEntrance.cs @@ -114,12 +114,21 @@ namespace Microsoft.PowerShell int exitCode = 0; try { + #if CORECLR + exitCode = Microsoft.PowerShell.ConsoleShell.Start( + configuration, + ManagedEntranceStrings.ShellBannerNonWindowsPowerShell, + ManagedEntranceStrings.ShellHelp, + warning == null ? null : warning.Message, + args); + #else exitCode = Microsoft.PowerShell.ConsoleShell.Start( configuration, ManagedEntranceStrings.ShellBanner, ManagedEntranceStrings.ShellHelp, warning == null ? null : warning.Message, args); + #endif } catch (System.Management.Automation.Host.HostException e) { diff --git a/src/Microsoft.PowerShell.ConsoleHost/resources/ManagedEntranceStrings.resx b/src/Microsoft.PowerShell.ConsoleHost/resources/ManagedEntranceStrings.resx index 587047c25..553a45a5a 100644 --- a/src/Microsoft.PowerShell.ConsoleHost/resources/ManagedEntranceStrings.resx +++ b/src/Microsoft.PowerShell.ConsoleHost/resources/ManagedEntranceStrings.resx @@ -119,6 +119,10 @@ Windows PowerShell +Copyright (C) 2016 Microsoft Corporation. All rights reserved. + + + PowerShell Copyright (C) 2016 Microsoft Corporation. All rights reserved.