commit 266a08f39c74e230fcd03caea56f7883a50dee8f parent 095b221473deb749b7d20e04d125644a049579d1 Author: Ryan <69221034+ryfu-msft@users.noreply.github.com> Date: Mon, 19 Aug 2024 16:33:43 -0400 Generate Microsoft.WinGet.Client help docs in cmdlet output (#4731) Diffstat:
| M | azure-pipelines.yml | | | 10 | ++++++++++ |
| M | src/PowerShell/Help/Microsoft.WinGet.Client/Disable-WinGetSetting.md | | | 1 | - |
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/azure-pipelines.yml b/azure-pipelines.yml @@ -543,6 +543,16 @@ jobs: Contents: '**\*' TargetFolder: '$(Build.ArtifactStagingDirectory)' + - task: PowerShell@2 + displayName: Generate Microsoft.WinGet.Client Help Documentation + inputs: + pwsh: true + targetType: inline + script: | + Install-Module -Name platyPS -Force + Import-Module platyPS + New-ExternalHelp -Path '$(Build.SourcesDirectory)\src\PowerShell\Help\Microsoft.WinGet.Client' -OutputPath '$(Build.ArtifactStagingDirectory)\Microsoft.WinGet.Client' + - task: CopyFiles@2 displayName: 'Copy Microsoft.WinGet.DSC module to staging directory' inputs: diff --git a/src/PowerShell/Help/Microsoft.WinGet.Client/Disable-WinGetSetting.md b/src/PowerShell/Help/Microsoft.WinGet.Client/Disable-WinGetSetting.md @@ -30,7 +30,6 @@ This command support the following administrative settings: - InstallerHashOverride - LocalArchiveMalwareScanOverride - ProxyCommandLineOptions -- DefaultProxy Administrative settings are disabled by default. Administrative settings can also be managed using Group Policy objects.