Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
1bc07c4
Update use of `Windows PowerShell` to just `PowerShell`
SteveL-MSFT May 1, 2019
72ca36e
update use of PowerShell Core to just PowerShell
SteveL-MSFT May 2, 2019
ddac348
Update build.psm1
iSazonov May 2, 2019
520d1d2
Update src/Microsoft.PowerShell.Commands.Diagnostics/ExportCounterCom…
iSazonov May 2, 2019
9677a41
Update src/Microsoft.PowerShell.Commands.Diagnostics/GetCounterComman…
iSazonov May 2, 2019
28eefec
Update src/Microsoft.PowerShell.Commands.Diagnostics/ImportCounterCom…
iSazonov May 2, 2019
24c66f2
Update src/Microsoft.PowerShell.Commands.Utility/commands/utility/Add…
iSazonov May 2, 2019
17c39ed
Update src/System.Management.Automation/engine/remoting/commands/Cust…
iSazonov May 2, 2019
31b6816
Update src/System.Management.Automation/engine/remoting/commands/Cust…
iSazonov May 2, 2019
d9b4af6
Update src/System.Management.Automation/resources/RemotingErrorIdStri…
iSazonov May 2, 2019
4187ecc
Update src/System.Management.Automation/resources/RemotingErrorIdStri…
iSazonov May 2, 2019
3e29bc1
Update src/System.Management.Automation/engine/remoting/commands/Cust…
iSazonov May 2, 2019
b785967
Update src/System.Management.Automation/engine/remoting/common/Runspa…
iSazonov May 2, 2019
b9242d6
Update src/System.Management.Automation/resources/Modules.resx
iSazonov May 2, 2019
01dc975
Update src/System.Management.Automation/resources/ParserStrings.resx
iSazonov May 2, 2019
35d8c94
Update src/System.Management.Automation/resources/ParserStrings.resx
iSazonov May 2, 2019
b349b42
Update src/System.Management.Automation/resources/RemotingErrorIdStri…
iSazonov May 2, 2019
de598a8
Update src/System.Management.Automation/resources/RemotingErrorIdStri…
iSazonov May 2, 2019
73cfc1e
address feedback
SteveL-MSFT May 2, 2019
661f39b
Update src/System.Management.Automation/engine/Modules/PSModuleInfo.cs
iSazonov May 3, 2019
e8392df
Update src/System.Management.Automation/engine/remoting/commands/Cust…
iSazonov May 3, 2019
f0803e6
Update src/System.Management.Automation/engine/remoting/commands/Cust…
iSazonov May 3, 2019
7e56ff5
Update src/System.Management.Automation/engine/remoting/commands/Cust…
iSazonov May 3, 2019
20b4aef
Update src/System.Management.Automation/engine/remoting/commands/Cust…
iSazonov May 3, 2019
639922b
Update test/powershell/engine/Module/TestModuleManifest.Tests.ps1
iSazonov May 3, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion PowerShell.Common.props
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
</Target>

<PropertyGroup>
<Product>PowerShell Core</Product>
<Product>PowerShell</Product>
<Company>Microsoft Corporation</Company>
<Copyright>(c) Microsoft Corporation. All rights reserved.</Copyright>

Expand Down
12 changes: 6 additions & 6 deletions assets/AppxManifest.xml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>

<Package IgnorableNamespaces="uap mp rescap desktop6"
xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest"
xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
xmlns:uap3="http://schemas.microsoft.com/appx/manifest/uap/windows10/3"
xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest"
xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
xmlns:uap3="http://schemas.microsoft.com/appx/manifest/uap/windows10/3"
xmlns:desktop="http://schemas.microsoft.com/appx/manifest/desktop/windows10"
xmlns:desktop6="http://schemas.microsoft.com/appx/manifest/desktop/windows10/6"
xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities">

<Identity Name="Microsoft.PowerShell" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" Version="$VERSION$" />

<Properties>
<DisplayName>PowerShell Core 6</DisplayName>
<DisplayName>PowerShell 7</DisplayName>
<PublisherDisplayName>Microsoft Corporation</PublisherDisplayName>
<Logo>assets\StoreLogo.png</Logo>
<desktop6:RegistryWriteVirtualization>disabled</desktop6:RegistryWriteVirtualization>
Expand All @@ -36,7 +36,7 @@
</uap3:AppExecutionAlias>
</uap3:Extension>
</Extensions>
<uap:VisualElements DisplayName="PowerShell Core 6" Description="PowerShell is an automation and configuration management platform. It consists of a cross-platform (Windows, Linux, and macOS) command-line shell and associated scripting language." BackgroundColor="transparent" Square150x150Logo="assets\Square150x150Logo.png" Square44x44Logo="assets\Square44x44Logo.png">
<uap:VisualElements DisplayName="PowerShell 7" Description="PowerShell is an automation and configuration management platform. It consists of a cross-platform (Windows, Linux, and macOS) command-line shell and associated scripting language." BackgroundColor="transparent" Square150x150Logo="assets\Square150x150Logo.png" Square44x44Logo="assets\Square44x44Logo.png">
</uap:VisualElements>
</Application>
</Applications>
Expand Down
12 changes: 6 additions & 6 deletions assets/pwsh.manifest
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
<description> PowerShell Core 6 </description>
<description> PowerShell 7</description>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel
level="asInvoker"
uiAccess="false"
/>
/>
</requestedPrivileges>
</security>
</trustInfo>
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<!-- Windows 10 -->
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<!-- Windows 10 -->
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>
<!-- Windows 8.1 -->
<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>
<!-- Windows 8 -->
<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/>
<!-- Windows 7 -->
<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
</application>
</application>
</compatibility>
</assembly>
8 changes: 4 additions & 4 deletions build.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ function Get-PSCommitId
function Get-EnvironmentInformation
{
$environment = @{}
# PowerShell Core will likely not be built on pre-1709 nanoserver
# PowerShell will likely not be built on pre-1709 nanoserver
if ($PSVersionTable.ContainsKey("PSEdition") -and "Core" -eq $PSVersionTable.PSEdition) {
$environment += @{'IsCoreCLR' = $true}
$environment += @{'IsLinux' = $IsLinux}
Expand Down Expand Up @@ -488,7 +488,7 @@ Fix steps:
# fxdependent package does not have an executable to set iconPath etc.
if ($Options.Runtime -ne 'fxdependent') {
Start-NativeExecution { & $rcedit $pwshPath --set-icon $iconPath `
--set-file-version $fileVersion --set-product-version $ReleaseVersion --set-version-string "ProductName" "PowerShell Core 6" `
--set-file-version $fileVersion --set-product-version $ReleaseVersion --set-version-string "ProductName" "PowerShell 7" `
--set-version-string "LegalCopyright" "(C) Microsoft Corporation. All Rights Reserved." `
--application-manifest "$PSScriptRoot\assets\pwsh.manifest" } | Write-Verbose
}
Expand Down Expand Up @@ -919,7 +919,7 @@ function Start-PSPester {
[switch]$IncludeCommonTests,
[string]$ExperimentalFeatureName,
[Parameter(HelpMessage='Title to publish the results as.')]
[string]$Title = 'PowerShell Core Tests',
[string]$Title = 'PowerShell 7 Tests',
[Parameter(ParameterSetName='Wait', Mandatory=$true,
HelpMessage='Wait for the debugger to attach to PowerShell before Pester starts. Debug builds only!')]
[switch]$Wait,
Expand Down Expand Up @@ -1737,7 +1737,7 @@ function Start-PSBootstrap {
## The VSCode build task requires 'pwsh.exe' to be found in Path
if (-not (Get-Command -Name pwsh.exe -CommandType Application -ErrorAction Ignore))
{
Write-Log "pwsh.exe not found. Install latest PowerShell Core release and add it to Path"
Write-Log "pwsh.exe not found. Install latest PowerShell release and add it to Path"
$psInstallFile = [System.IO.Path]::Combine($PSScriptRoot, "tools", "install-powershell.ps1")
& $psInstallFile -AddToPath
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">
<Import Project="..\..\PowerShell.Common.props" />
<PropertyGroup>
<Description>PowerShell Core's Microsoft.Management.Infrastructure.CimCmdlets project</Description>
<Description>PowerShell's Microsoft.Management.Infrastructure.CimCmdlets project</Description>
<NoWarn>$(NoWarn);CS1570;CS1572;CS1573;CS1574;CS1584;CS1587;CS1591</NoWarn>
<AssemblyName>Microsoft.Management.Infrastructure.CimCmdlets</AssemblyName>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ protected override void BeginProcessing()
throw new PlatformNotSupportedException();
}

// PowerShell Core requires at least Windows 7,
// PowerShell 7 requires at least Windows 7,
// so no version test is needed
_pdhHelper = new PdhHelper(false);
#else
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ protected override void BeginProcessing()
throw new PlatformNotSupportedException();
}

// PowerShell Core requires at least Windows 7,
// PowerShell 7 requires at least Windows 7,
// so no version test is needed
_pdhHelper = new PdhHelper(false);
#else
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ protected override void BeginProcessing()
throw new PlatformNotSupportedException();
}

// PowerShell Core requires at least Windows 7,
// PowerShell 7 requires at least Windows 7,
// so no version test is needed
_pdhHelper = new PdhHelper(false);
#else
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">
<Import Project="..\..\PowerShell.Common.props" />
<PropertyGroup>
<Description>PowerShell Core's Microsoft.PowerShell.Commands.Diagnostics project</Description>
<Description>PowerShell's Microsoft.PowerShell.Commands.Diagnostics project</Description>
<NoWarn>$(NoWarn);CS1591</NoWarn>
<AssemblyName>Microsoft.PowerShell.Commands.Diagnostics</AssemblyName>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#Copyright (c) Microsoft Corporation. All rights reserved.

Vendor=Microsoft
Description=This Windows PowerShell snap-in contains Windows Eventing and Performance Counter cmdlets.
Description=This PowerShell snap-in contains Windows Eventing and Performance Counter cmdlets.

NoMatchingEventsFound=No events were found that match the specified selection criteria.
NoMatchingLogsFound=There is not an event log on the {0} computer that matches "{1}".
Expand Down Expand Up @@ -56,4 +56,4 @@ CounterCircularNoMaxSize=The Circular parameter will be ignored unless the MaxSi
ExportCtrWin7Required=This cmdlet can be run only on Microsoft Windows 7 and above.
FileOpenFailed=Unable to open the {0} file for writing.
FileCreateFailed=Unable to create the {0} file. Verify that the path is valid.
ExportDestPathAmbiguous=The following export destination path is ambiguous: {0}.
ExportDestPathAmbiguous=The following export destination path is ambiguous: {0}.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">
<Import Project="..\..\PowerShell.Common.props" />
<PropertyGroup>
<Description>PowerShell Core's Microsoft.PowerShell.Commands.Management project</Description>
<Description>PowerShell's Microsoft.PowerShell.Commands.Management project</Description>
<NoWarn>$(NoWarn);CS1570</NoWarn>
<AssemblyName>Microsoft.PowerShell.Commands.Management</AssemblyName>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">
<Import Project="..\..\PowerShell.Common.props" />
<PropertyGroup>
<Description>PowerShell Core's Microsoft.PowerShell.Commands.Utility project</Description>
<Description>PowerShell's Microsoft.PowerShell.Commands.Utility project</Description>
<NoWarn>$(NoWarn);CS1570</NoWarn>
<AssemblyName>Microsoft.PowerShell.Commands.Utility</AssemblyName>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ protected override void EndProcessing()

#region LoadAssembly

// We now ship .Net Core's reference assemblies with PowerShell Core, so that Add-Type can work
// We now ship .Net Core's reference assemblies with PowerShell, so that Add-Type can work
// in a predictable way and won't be broken when we move to newer version of .NET Core.
// The reference assemblies are located at '$PSHOME\ref'.
private static readonly string s_netcoreAppRefFolder = PathType.Combine(PathType.GetDirectoryName(typeof(PSObject).Assembly.Location), "ref");
Expand Down Expand Up @@ -756,7 +756,7 @@ private string ResolveAssemblyName(string assembly, bool isForReferenceAssembly)

// We look up in reference/framework only when it's for resolving reference assemblies.
// In case of 'Add-Type -AssemblyName' scenario, we don't attempt to resolve against framework assemblies because
// 1. Explicitly loading a framework assembly usually is not necessary in PowerShell Core.
// 1. Explicitly loading a framework assembly usually is not necessary in PowerShell 6+.
// 2. A user should use assembly name instead of path if they want to explicitly load a framework assembly.
if (isForReferenceAssembly)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,6 @@
<value>Cannot create type. Only core types are supported in this language mode.</value>
</data>
<data name="ApartmentNotSupported" xml:space="preserve">
<value>{0} Please note that Single-Threaded Apartment is not supported in PowerShell Core.</value>
<value>{0} Please note that Single-Threaded Apartment is not supported in PowerShell.</value>
</data>
</root>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">
<Import Project="..\..\PowerShell.Common.props" />
<PropertyGroup>
<Description>PowerShell Core's Microsoft.PowerShell.CoreCLR.Eventing project</Description>
<Description>PowerShell's Microsoft.PowerShell.CoreCLR.Eventing project</Description>
<NoWarn>$(NoWarn);CS1591</NoWarn>
<AssemblyName>Microsoft.PowerShell.CoreCLR.Eventing</AssemblyName>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
namespace Microsoft.PowerShell.GlobalTool.Shim
{
/// <summary>
/// Shim layer to chose the appropriate runtime for PowerShell Core DotNet Global tool.
/// Shim layer to chose the appropriate runtime for PowerShell DotNet Global tool.
/// </summary>
public class EntryPoint
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<Import Project="..\..\PowerShell.Common.props"/>

<PropertyGroup>
<Description>PowerShell Core's Microsoft.PowerShell.LocalAccounts project</Description>
<Description>PowerShell's Microsoft.PowerShell.LocalAccounts project</Description>
<AssemblyName>Microsoft.PowerShell.LocalAccounts</AssemblyName>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Import Project="..\..\PowerShell.Common.props" />

<PropertyGroup>
<Description>PowerShell Core's Markdown Rendering project</Description>
<Description>PowerShell's Markdown Rendering project</Description>
<AssemblyName>Microsoft.PowerShell.MarkdownRender</AssemblyName>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">
<Import Project="..\..\PowerShell.Common.props" />
<PropertyGroup>
<Description>PowerShell Core's Microsoft.PowerShell.Security project</Description>
<Description>PowerShell's Microsoft.PowerShell.Security project</Description>
<NoWarn>$(NoWarn);CS1570</NoWarn>
<AssemblyName>Microsoft.PowerShell.Security</AssemblyName>
</PropertyGroup>
Expand All @@ -16,5 +16,5 @@

<EmbeddedResource Remove="resources\SecurityMshSnapinResources.resx" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">
<Import Project="..\..\PowerShell.Common.props" />
<PropertyGroup>
<Description>PowerShell Core's Microsoft.WSMan.Management project</Description>
<Description>PowerShell's Microsoft.WSMan.Management project</Description>
<AssemblyName>Microsoft.WSMan.Management</AssemblyName>
</PropertyGroup>

Expand Down
4 changes: 2 additions & 2 deletions src/Microsoft.WSMan.Management/resources/WsManResources.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# {0} = Delegate

Vendor=Microsoft
Description=This Windows PowerShell snap-in contains cmdlets (such as Get-WSManInstance and Set-WSManInstance) that are used by the Windows PowerShell host to manage WSMan operations.
Description=This PowerShell snap-in contains cmdlets (such as Get-WSManInstance and Set-WSManInstance) that are used by the PowerShell host to manage WSMan operations.
InvalidComputerName=The WinRM client cannot complete the operation.Check if the computer name is valid.
InvalidFileName=This command cannot be used because file does not exist.Check the file existence and run your command.
InvalidPath=This command cannot be used because root path does not exist.Check the root path and run your command.
Expand Down Expand Up @@ -65,4 +65,4 @@ SetItemWhatIfAndConfirmText= "Set-Item" on the WinRM configuration setting "{0}"
SetItemWarnigForPPQ=The updated configuration is effective only if it is less than or equal to the value of global quota {0}. Verify the value for the global quota using the PowerShell cmdlet "Get-Item {0}".
SetItemWarningForGlobalQuota=The updated configuration might affect the operation of the plugins having a per plugin quota value greater than {0}. Verify the configuration of all the registered plugins and change the per plugin quota values for the affected plugins.
SetItemServiceRestartWarning= The configuration changes you made will only be effective after the WinRM service is restarted. To restart the WinRM service, run the following command: 'Restart-Service winrm'
SetItemServiceRestartWarningRemote= The configuration changes you made will only be effective after the WinRM service is restarted on {0}.
SetItemServiceRestartWarningRemote= The configuration changes you made will only be effective after the WinRM service is restarted on {0}.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">
<Import Project="..\..\PowerShell.Common.props" />
<PropertyGroup>
<Description>PowerShell Core's Microsoft.WSMan.Runtime project</Description>
<Description>PowerShell's Microsoft.WSMan.Runtime project</Description>
<AssemblyName>Microsoft.WSMan.Runtime</AssemblyName>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- *******************************************************************
These sample files contain formatting information used by the Windows
These sample files contain formatting information used by the
PowerShell engine. Do not edit or change the contents of this file
directly. Please see the Windows PowerShell documentation or type
directly. Please see the PowerShell documentation or type
Get-Help Update-TypeData for more information.

Copyright (c) Microsoft Corporation. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- *******************************************************************
These sample files contain formatting information used by the Windows
These sample files contain formatting information used by the
PowerShell engine. Do not edit or change the contents of this file
directly. Please see the Windows PowerShell documentation or type
directly. Please see the PowerShell documentation or type
Get-Help Update-FormatData for more information.

Copyright (c) Microsoft Corporation. All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion src/Modules/Windows/PSDiagnostics/PSDiagnostics.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Licensed under the MIT License.

<#
Windows PowerShell Diagnostics Module
PowerShell Diagnostics Module
This module contains a set of wrapper scripts that
enable a user to use ETW tracing in Windows
PowerShell.
Expand Down
Loading