From 563c37c0bd7a2ae2918393ef9e3622ebbd9fe980 Mon Sep 17 00:00:00 2001 From: Aditya Patwardhan Date: Fri, 5 Jan 2018 11:47:01 -0800 Subject: [PATCH 1/3] Update the fwlink to latest help content --- .../help/UpdatableHelpCommandBase.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/System.Management.Automation/help/UpdatableHelpCommandBase.cs b/src/System.Management.Automation/help/UpdatableHelpCommandBase.cs index 66f6575b6d1..d3cabf516e2 100644 --- a/src/System.Management.Automation/help/UpdatableHelpCommandBase.cs +++ b/src/System.Management.Automation/help/UpdatableHelpCommandBase.cs @@ -160,7 +160,7 @@ static UpdatableHelpCommandBase() // TODO: assign real TechNet addresses s_metadataCache.Add("Microsoft.PowerShell.Diagnostics", "https://go.microsoft.com/fwlink/?linkid=855954"); - s_metadataCache.Add("Microsoft.PowerShell.Core", "https://go.microsoft.com/fwlink/?linkid=390782"); + s_metadataCache.Add("Microsoft.PowerShell.Core", "https://go.microsoft.com/fwlink/?linkid=855953"); s_metadataCache.Add("Microsoft.PowerShell.Utility", "https://go.microsoft.com/fwlink/?linkid=855960"); s_metadataCache.Add("Microsoft.PowerShell.Host", "https://go.microsoft.com/fwlink/?linkid=855956"); s_metadataCache.Add("Microsoft.PowerShell.Management", "https://go.microsoft.com/fwlink/?linkid=855958"); From 7651a1411f3c32afba7c7820e242971ab8433eeb Mon Sep 17 00:00:00 2001 From: Aditya Patwardhan Date: Mon, 8 Jan 2018 11:09:45 -0800 Subject: [PATCH 2/3] [Feature] Fixed test for Disable-PSRemoting --- test/powershell/engine/Help/HelpSystem.Tests.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/powershell/engine/Help/HelpSystem.Tests.ps1 b/test/powershell/engine/Help/HelpSystem.Tests.ps1 index b625daa59d0..02e98d7615a 100644 --- a/test/powershell/engine/Help/HelpSystem.Tests.ps1 +++ b/test/powershell/engine/Help/HelpSystem.Tests.ps1 @@ -38,7 +38,8 @@ function RunTestCase "Out-Default", "Register-ArgumentCompleter", "New-PSRoleCapabilityFile", - "Get-PSSessionCapability" + "Get-PSSessionCapability", + "Disable-PSRemoting" # Content not available: Issue # https://github.com/PowerShell/PowerShell-Docs/issues/1790 ) foreach ($cmdletName in $cmdlets) From 70755a4cc04488fdfccf86ac13d35701783cd485 Mon Sep 17 00:00:00 2001 From: Aditya Patwardhan Date: Mon, 8 Jan 2018 11:33:24 -0800 Subject: [PATCH 3/3] [Feature] Update the tests to exclude Enable-PSRemoting --- test/powershell/engine/Help/HelpSystem.Tests.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/powershell/engine/Help/HelpSystem.Tests.ps1 b/test/powershell/engine/Help/HelpSystem.Tests.ps1 index 02e98d7615a..a48268f8622 100644 --- a/test/powershell/engine/Help/HelpSystem.Tests.ps1 +++ b/test/powershell/engine/Help/HelpSystem.Tests.ps1 @@ -39,7 +39,8 @@ function RunTestCase "Register-ArgumentCompleter", "New-PSRoleCapabilityFile", "Get-PSSessionCapability", - "Disable-PSRemoting" # Content not available: Issue # https://github.com/PowerShell/PowerShell-Docs/issues/1790 + "Disable-PSRemoting", # Content not available: Issue # https://github.com/PowerShell/PowerShell-Docs/issues/1790 + "Enable-PSRemoting" ) foreach ($cmdletName in $cmdlets)