Skip to content

Commit

Permalink
Update the PowerShell modules to use the new Help URI (#12686)
Browse files Browse the repository at this point in the history
  • Loading branch information
adityapatwardhan committed Jun 2, 2020
1 parent 73e8427 commit 5a42f45
Show file tree
Hide file tree
Showing 12 changed files with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ FunctionsToExport = @()
CmdletsToExport="Start-Transcript", "Stop-Transcript"
AliasesToExport = @()
NestedModules="Microsoft.PowerShell.ConsoleHost.dll"
HelpInfoURI = 'https://go.microsoft.com/fwlink/?linkid=2113538'
HelpInfoURI = 'https://aka.ms/powershell71-help'
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ModuleVersion="7.0.0.0"
CompatiblePSEditions = @("Core")
PowerShellVersion="3.0"
NestedModules="Microsoft.PowerShell.Commands.Management.dll"
HelpInfoURI = 'https://go.microsoft.com/fwlink/?linkid=2113632'
HelpInfoURI = 'https://aka.ms/powershell71-help'
FunctionsToExport = @()
AliasesToExport = @("gcb", "gtz", "scb")
CmdletsToExport=@("Add-Content",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ FunctionsToExport = @()
CmdletsToExport="Get-Credential", "Get-ExecutionPolicy", "Set-ExecutionPolicy", "ConvertFrom-SecureString", "ConvertTo-SecureString", "Get-PfxCertificate" , "Protect-CmsMessage", "Unprotect-CmsMessage", "Get-CmsMessage"
AliasesToExport = @()
NestedModules="Microsoft.PowerShell.Security.dll"
HelpInfoURI = 'https://go.microsoft.com/fwlink/?linkid=2113533'
HelpInfoURI = 'https://aka.ms/powershell71-help'
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ CmdletsToExport = @(
FunctionsToExport = @()
AliasesToExport = @('fhx')
NestedModules = @("Microsoft.PowerShell.Commands.Utility.dll")
HelpInfoURI = 'https://go.microsoft.com/fwlink/?linkid=2113633'
HelpInfoURI = 'https://aka.ms/powershell71-help'
PrivateData = @{
PSData = @{
ExperimentalFeatures = @(
Expand Down
2 changes: 1 addition & 1 deletion src/Modules/Windows/CimCmdlets/CimCmdlets.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ CmdletsToExport= "Get-CimAssociatedInstance", "Get-CimClass", "Get-CimInstance",
"Remove-CimSession","Set-CimInstance",
"Export-BinaryMiLog","Import-BinaryMiLog"
AliasesToExport = "gcim","scim","ncim", "rcim","icim","gcai","rcie","ncms","rcms","gcms","ncso","gcls"
HelpInfoUri="https://go.microsoft.com/fwlink/?linkid=2113536"
HelpInfoUri="https://aka.ms/powershell71-help"
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ AliasesToExport = @()
NestedModules="Microsoft.PowerShell.Commands.Diagnostics.dll"
TypesToProcess="GetEvent.types.ps1xml"
FormatsToProcess="Event.format.ps1xml", "Diagnostics.format.ps1xml"
HelpInfoURI = 'https://go.microsoft.com/fwlink/?linkid=2113532'
HelpInfoURI = 'https://aka.ms/powershell71-help'
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ModuleVersion="7.0.0.0"
CompatiblePSEditions = @("Core")
PowerShellVersion="3.0"
NestedModules="Microsoft.PowerShell.Commands.Management.dll"
HelpInfoURI = 'https://go.microsoft.com/fwlink/?linkid=2113632'
HelpInfoURI = 'https://aka.ms/powershell71-help'
FunctionsToExport = @()
AliasesToExport = @("gcb", "gin", "gtz", "scb", "stz")
CmdletsToExport=@("Add-Content",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ FunctionsToExport = @()
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"
AliasesToExport = @()
NestedModules="Microsoft.PowerShell.Security.dll"
HelpInfoURI = 'https://go.microsoft.com/fwlink/?linkid=2113533'
HelpInfoURI = 'https://aka.ms/powershell71-help'
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ CmdletsToExport = @(
FunctionsToExport = @()
AliasesToExport = @('fhx')
NestedModules = @("Microsoft.PowerShell.Commands.Utility.dll")
HelpInfoURI = 'https://go.microsoft.com/fwlink/?linkid=2113633'
HelpInfoURI = 'https://aka.ms/powershell71-help'
PrivateData = @{
PSData = @{
ExperimentalFeatures = @(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ CmdletsToExport="Disable-WSManCredSSP", "Enable-WSManCredSSP", "Get-WSManCredSSP
AliasesToExport = @()
NestedModules="Microsoft.WSMan.Management.dll"
FormatsToProcess="WSMan.format.ps1xml"
HelpInfoURI = 'https://go.microsoft.com/fwlink/?linkid=2113537'
HelpInfoURI = 'https://aka.ms/powershell71-help'
}
2 changes: 1 addition & 1 deletion src/Modules/Windows/PSDiagnostics/PSDiagnostics.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
FunctionsToExport="Disable-PSTrace","Disable-PSWSManCombinedTrace","Disable-WSManTrace","Enable-PSTrace","Enable-PSWSManCombinedTrace","Enable-WSManTrace","Get-LogProperties","Set-LogProperties","Start-Trace","Stop-Trace"
CmdletsToExport = @()
AliasesToExport = @()
HelpInfoUri="https://go.microsoft.com/fwlink/?linkid=2113635"
HelpInfoUri="https://aka.ms/powershell71-help"
}
Original file line number Diff line number Diff line change
Expand Up @@ -175,13 +175,13 @@ static UpdatableHelpCommandBase()

// TODO: assign real TechNet addresses

s_metadataCache.Add("Microsoft.PowerShell.Diagnostics", "https://go.microsoft.com/fwlink/?linkid=2113532");
s_metadataCache.Add("Microsoft.PowerShell.Core", "https://go.microsoft.com/fwlink/?linkid=2113534");
s_metadataCache.Add("Microsoft.PowerShell.Utility", "https://go.microsoft.com/fwlink/?linkid=2113633");
s_metadataCache.Add("Microsoft.PowerShell.Host", "https://go.microsoft.com/fwlink/?linkid=2113538");
s_metadataCache.Add("Microsoft.PowerShell.Management", "https://go.microsoft.com/fwlink/?linkid=2113632");
s_metadataCache.Add("Microsoft.PowerShell.Security", "https://go.microsoft.com/fwlink/?linkid=2113533");
s_metadataCache.Add("Microsoft.WSMan.Management", "https://go.microsoft.com/fwlink/?linkid=2113537");
s_metadataCache.Add("Microsoft.PowerShell.Diagnostics", "https://aka.ms/powershell71-help");
s_metadataCache.Add("Microsoft.PowerShell.Core", "https://aka.ms/powershell71-help");
s_metadataCache.Add("Microsoft.PowerShell.Utility", "https://aka.ms/powershell71-help");
s_metadataCache.Add("Microsoft.PowerShell.Host", "https://aka.ms/powershell71-help");
s_metadataCache.Add("Microsoft.PowerShell.Management", "https://aka.ms/powershell71-help");
s_metadataCache.Add("Microsoft.PowerShell.Security", "https://aka.ms/powershell71-help");
s_metadataCache.Add("Microsoft.WSMan.Management", "https://aka.ms/powershell71-help");
}

/// <summary>
Expand Down

0 comments on commit 5a42f45

Please sign in to comment.