Skip to content

Commit 00b0af1

Browse files
authored
Add 'CompatiblePSEditions' to PowerShell Core built-in modules (#7083)
1 parent a5ec565 commit 00b0af1

File tree

11 files changed

+33
-40
lines changed

11 files changed

+33
-40
lines changed

src/Modules/Shared/Microsoft.PowerShell.Host/Microsoft.PowerShell.Host.psd1

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,9 @@ GUID="56D66100-99A0-4FFC-A12D-EEE9A6718AEF"
33
Author="PowerShell"
44
CompanyName="Microsoft Corporation"
55
Copyright="Copyright (c) Microsoft Corporation. All rights reserved."
6-
ModuleVersion="3.0.0.0"
7-
PowerShellVersion="3.0"
8-
CLRVersion="4.0"
9-
AliasesToExport = @()
10-
FunctionsToExport = @()
6+
ModuleVersion="6.1.0.0"
7+
CompatiblePSEditions = @("Core")
8+
PowerShellVersion="6.1"
119
CmdletsToExport="Start-Transcript", "Stop-Transcript"
1210
NestedModules="Microsoft.PowerShell.ConsoleHost.dll"
1311
HelpInfoURI = 'https://go.microsoft.com/fwlink/?linkid=855956'

src/Modules/Unix/Microsoft.PowerShell.Management/Microsoft.PowerShell.Management.psd1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ GUID="EEFCB906-B326-4E99-9F54-8B4BB6EF3C6D"
33
Author="PowerShell"
44
CompanyName="Microsoft Corporation"
55
Copyright="Copyright (c) Microsoft Corporation. All rights reserved."
6-
ModuleVersion="3.1.0.0"
7-
PowerShellVersion="3.0"
6+
ModuleVersion="6.1.0.0"
7+
CompatiblePSEditions = @("Core")
8+
PowerShellVersion="6.1"
89
NestedModules="Microsoft.PowerShell.Commands.Management.dll"
910
HelpInfoURI = 'https://go.microsoft.com/fwlink/?linkid=855958'
1011
AliasesToExport = @("gtz")
11-
FunctionsToExport = @()
1212
CmdletsToExport=@("Add-Content",
1313
"Clear-Content",
1414
"Clear-ItemProperty",

src/Modules/Unix/Microsoft.PowerShell.Security/Microsoft.PowerShell.Security.psd1

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@ GUID="A94C8C7E-9810-47C0-B8AF-65089C13A35A"
33
Author="PowerShell"
44
CompanyName="Microsoft Corporation"
55
Copyright="Copyright (c) Microsoft Corporation. All rights reserved."
6-
ModuleVersion="3.0.0.0"
7-
PowerShellVersion="3.0"
8-
AliasesToExport = @()
9-
FunctionsToExport = @()
6+
ModuleVersion="6.1.0.0"
7+
CompatiblePSEditions = @("Core")
8+
PowerShellVersion="6.1"
109
CmdletsToExport="Get-Credential", "Get-ExecutionPolicy", "Set-ExecutionPolicy", "ConvertFrom-SecureString", "ConvertTo-SecureString", "Get-PfxCertificate"
1110
NestedModules="Microsoft.PowerShell.Security.dll"
1211
HelpInfoURI = 'https://go.microsoft.com/fwlink/?linkid=855959'

src/Modules/Unix/Microsoft.PowerShell.Utility/Microsoft.PowerShell.Utility.psd1

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ GUID="1DA87E53-152B-403E-98DC-74D7B4D63D59"
33
Author="PowerShell"
44
CompanyName="Microsoft Corporation"
55
Copyright="Copyright (c) Microsoft Corporation. All rights reserved."
6-
ModuleVersion="3.1.0.0"
7-
PowerShellVersion="3.0"
6+
ModuleVersion="6.1.0.0"
7+
CompatiblePSEditions = @("Core")
8+
PowerShellVersion="6.1"
89
CmdletsToExport= "Format-List", "Format-Custom", "Format-Table", "Format-Wide",
910
"Out-File", "Out-String", "Get-FormatData", "Export-FormatData", "ConvertFrom-Json", "ConvertTo-Json",
1011
"Invoke-RestMethod", "Invoke-WebRequest", "Register-ObjectEvent", "Register-EngineEvent",

src/Modules/Windows/CimCmdlets/CimCmdlets.psd1

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,15 @@ GUID="{Fb6cc51d-c096-4b38-b78d-0fed6277096a}"
33
Author="PowerShell"
44
CompanyName="Microsoft Corporation"
55
Copyright="Copyright (c) Microsoft Corporation. All rights reserved."
6-
ModuleVersion="1.0.0.0"
7-
PowerShellVersion="3.0"
8-
CLRVersion="4.0"
6+
ModuleVersion="6.1.0.0"
7+
CompatiblePSEditions = @("Core")
8+
PowerShellVersion="6.1"
99
RootModule="Microsoft.Management.Infrastructure.CimCmdlets"
1010
RequiredAssemblies="Microsoft.Management.Infrastructure.CimCmdlets.dll","Microsoft.Management.Infrastructure.Dll"
1111
CmdletsToExport= "Get-CimAssociatedInstance", "Get-CimClass", "Get-CimInstance", "Get-CimSession", "Invoke-CimMethod",
1212
"New-CimInstance","New-CimSession","New-CimSessionOption","Register-CimIndicationEvent","Remove-CimInstance",
1313
"Remove-CimSession","Set-CimInstance",
1414
"Export-BinaryMiLog","Import-BinaryMiLog"
1515
AliasesToExport = "gcim","scim","ncim", "rcim","icim","gcai","rcie","ncms","rcms","gcms","ncso","gcls"
16-
FunctionsToExport = @()
1716
HelpInfoUri="https://go.microsoft.com/fwlink/?linkid=855946"
1817
}

src/Modules/Windows/Microsoft.PowerShell.Diagnostics/Microsoft.PowerShell.Diagnostics.psd1

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ GUID="CA046F10-CA64-4740-8FF9-2565DBA61A4F"
33
Author="PowerShell"
44
CompanyName="Microsoft Corporation"
55
Copyright="Copyright (c) Microsoft Corporation. All rights reserved."
6-
ModuleVersion="3.0.0.0"
7-
PowerShellVersion="3.0"
6+
ModuleVersion="6.1.0.0"
7+
CompatiblePSEditions = @("Core")
8+
PowerShellVersion="6.1"
89
CmdletsToExport="Get-WinEvent", "New-WinEvent" # Counter CmdLets Disabled #4272: "Get-Counter", "Import-Counter", "Export-Counter"
910
NestedModules="Microsoft.PowerShell.Commands.Diagnostics.dll"
1011
TypesToProcess="GetEvent.types.ps1xml"

src/Modules/Windows/Microsoft.PowerShell.Management/Microsoft.PowerShell.Management.psd1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ GUID="EEFCB906-B326-4E99-9F54-8B4BB6EF3C6D"
33
Author="PowerShell"
44
CompanyName="Microsoft Corporation"
55
Copyright="Copyright (c) Microsoft Corporation. All rights reserved."
6-
ModuleVersion="3.1.0.0"
7-
PowerShellVersion="3.0"
6+
ModuleVersion="6.1.0.0"
7+
CompatiblePSEditions = @("Core")
8+
PowerShellVersion="6.1"
89
NestedModules="Microsoft.PowerShell.Commands.Management.dll"
910
HelpInfoURI = 'https://go.microsoft.com/fwlink/?linkid=855958'
1011
AliasesToExport = @("gin", "gtz", "stz")
11-
FunctionsToExport = @()
1212
CmdletsToExport=@("Add-Content",
1313
"Clear-Content",
1414
"Clear-ItemProperty",

src/Modules/Windows/Microsoft.PowerShell.Security/Microsoft.PowerShell.Security.psd1

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,9 @@ GUID="A94C8C7E-9810-47C0-B8AF-65089C13A35A"
33
Author="PowerShell"
44
CompanyName="Microsoft Corporation"
55
Copyright="Copyright (c) Microsoft Corporation. All rights reserved."
6-
ModuleVersion="3.0.0.0"
7-
PowerShellVersion="3.0"
8-
CLRVersion="4.0"
9-
AliasesToExport = @()
10-
FunctionsToExport = @()
6+
ModuleVersion="6.1.0.0"
7+
CompatiblePSEditions = @("Core")
8+
PowerShellVersion="6.1"
119
CmdletsToExport="Get-Acl", "Set-Acl", "Get-PfxCertificate", "Get-Credential", "Get-ExecutionPolicy", "Set-ExecutionPolicy", "Get-AuthenticodeSignature", "Set-AuthenticodeSignature", "ConvertFrom-SecureString", "ConvertTo-SecureString", "Get-CmsMessage", "Unprotect-CmsMessage", "Protect-CmsMessage" , "New-FileCatalog" , "Test-FileCatalog"
1210
NestedModules="Microsoft.PowerShell.Security.dll"
1311
HelpInfoURI = 'https://go.microsoft.com/fwlink/?linkid=855959'

src/Modules/Windows/Microsoft.PowerShell.Utility/Microsoft.PowerShell.Utility.psd1

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ GUID="1DA87E53-152B-403E-98DC-74D7B4D63D59"
33
Author="PowerShell"
44
CompanyName="Microsoft Corporation"
55
Copyright="Copyright (c) Microsoft Corporation. All rights reserved."
6-
ModuleVersion="3.1.0.0"
7-
PowerShellVersion="3.0"
6+
ModuleVersion="6.1.0.0"
7+
CompatiblePSEditions = @("Core")
8+
PowerShellVersion="6.1"
89
CmdletsToExport= "Format-List", "Format-Custom", "Format-Table", "Format-Wide",
910
"Out-File", "Out-String", "Get-FormatData", "Export-FormatData", "ConvertFrom-Json", "ConvertTo-Json",
1011
"Invoke-RestMethod", "Invoke-WebRequest", "Register-ObjectEvent", "Register-EngineEvent",

src/Modules/Windows/Microsoft.WSMan.Management/Microsoft.WSMan.Management.psd1

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,9 @@ GUID="766204A6-330E-4263-A7AB-46C87AFC366C"
33
Author="PowerShell"
44
CompanyName="Microsoft Corporation"
55
Copyright="Copyright (c) Microsoft Corporation. All rights reserved."
6-
ModuleVersion="3.0.0.0"
7-
PowerShellVersion="3.0"
8-
CLRVersion="4.0"
9-
AliasesToExport = @()
10-
FunctionsToExport = @()
6+
ModuleVersion="6.1.0.0"
7+
CompatiblePSEditions = @("Core")
8+
PowerShellVersion="6.1"
119
CmdletsToExport="Disable-WSManCredSSP", "Enable-WSManCredSSP", "Get-WSManCredSSP", "Set-WSManQuickConfig", "Test-WSMan", "Invoke-WSManAction", "Connect-WSMan", "Disconnect-WSMan", "Get-WSManInstance", "Set-WSManInstance", "Remove-WSManInstance", "New-WSManInstance", "New-WSManSessionOption"
1210
NestedModules="Microsoft.WSMan.Management.dll"
1311
FormatsToProcess="WSMan.format.ps1xml"

0 commit comments

Comments
 (0)