diff --git a/src/Microsoft.PowerShell.ConsoleHost/host/msh/ManagedEntrance.cs b/src/Microsoft.PowerShell.ConsoleHost/host/msh/ManagedEntrance.cs index 17b896acd6b..f7a0688199d 100644 --- a/src/Microsoft.PowerShell.ConsoleHost/host/msh/ManagedEntrance.cs +++ b/src/Microsoft.PowerShell.ConsoleHost/host/msh/ManagedEntrance.cs @@ -9,6 +9,7 @@ using System.Management.Automation.Runspaces; using System.Management.Automation.Tracing; using System.Globalization; + #if CORECLR using System.Runtime.InteropServices; #endif @@ -109,7 +110,7 @@ public int Start(string consoleFilePath, string[] args) try { #if CORECLR - var banner = ManagedEntranceStrings.ShellBannerNonWindowsPowerShell; + var banner = ManagedEntranceStrings.ShellBannerNonWindowsPowerShell; #else var banner = ManagedEntranceStrings.ShellBanner; #endif diff --git a/src/Microsoft.PowerShell.ConsoleHost/resources/ManagedEntranceStrings.resx b/src/Microsoft.PowerShell.ConsoleHost/resources/ManagedEntranceStrings.resx index 553a45a5a43..1d06e01d399 100644 --- a/src/Microsoft.PowerShell.ConsoleHost/resources/ManagedEntranceStrings.resx +++ b/src/Microsoft.PowerShell.ConsoleHost/resources/ManagedEntranceStrings.resx @@ -119,11 +119,11 @@ Windows PowerShell -Copyright (C) 2016 Microsoft Corporation. All rights reserved. +Copyright (C) Microsoft Corporation. All rights reserved. PowerShell -Copyright (C) 2016 Microsoft Corporation. All rights reserved. +Copyright (C) Microsoft Corporation. All rights reserved. PowerShell[.exe] [-PSConsoleFile <file> | -Version <version>]