Add HelpUri for Get-Uptime (#2688)

* Add HelpUri for Get-Uptime

* Update online help test data to include Get-Uptime
This commit is contained in:
Dongbo Wang
2016-11-16 11:13:09 -08:00
committed by GitHub
parent 40437ba809
commit 7e581be7c4
3 changed files with 7 additions and 3 deletions
@@ -12,7 +12,7 @@ namespace Microsoft.PowerShell.Commands
/// <summary>
/// This class implements Get-Uptime
/// </summary>
[Cmdlet(VerbsCommon.Get, "Uptime", DefaultParameterSetName = TimespanParameterSet, HelpUri = "")]
[Cmdlet(VerbsCommon.Get, "Uptime", DefaultParameterSetName = TimespanParameterSet, HelpUri = "https://go.microsoft.com/fwlink/?linkid=834862")]
[OutputType(typeof(TimeSpan), ParameterSetName = new string[] { TimespanParameterSet })]
[OutputType(typeof(DateTime), ParameterSetName = new string[] { SinceParameterSet })]
public class GetUptimeCommand : PSCmdlet
@@ -193,6 +193,9 @@
<Compile Include="..\Microsoft.PowerShell.Commands.Utility\commands\utility\GetUnique.cs">
<Link>commands\utility\GetUnique.cs</Link>
</Compile>
<Compile Include="..\Microsoft.PowerShell.Commands.Utility\commands\utility\GetUptime.cs">
<Link>commands\utility\GetUptime.cs</Link>
</Compile>
<Compile Include="..\Microsoft.PowerShell.Commands.Utility\commands\utility\group-object.cs">
<Link>commands\utility\group-object.cs</Link>
</Compile>
@@ -694,4 +697,4 @@
<ProjectExtensions>
<VisualStudio AllowExistingFolder="true" />
</ProjectExtensions>
</Project>
</Project>
@@ -89,4 +89,5 @@ New-FileCatalog,https://go.microsoft.com/fwlink/?LinkId=786749
Test-FileCatalog,https://go.microsoft.com/fwlink/?LinkId=786750
Get-ComputerInfo,https://go.microsoft.com/fwlink/?LinkId=799466
Get-TimeZone,https://go.microsoft.com/fwlink/?LinkId=799468
Set-TimeZone,https://go.microsoft.com/fwlink/?LinkId=799469
Set-TimeZone,https://go.microsoft.com/fwlink/?LinkId=799469
Get-Uptime,https://go.microsoft.com/fwlink/?linkid=834862
1 TopicTitle HelpURI
89 Test-FileCatalog https://go.microsoft.com/fwlink/?LinkId=786750
90 Get-ComputerInfo https://go.microsoft.com/fwlink/?LinkId=799466
91 Get-TimeZone https://go.microsoft.com/fwlink/?LinkId=799468
92 Set-TimeZone https://go.microsoft.com/fwlink/?LinkId=799469
93 Get-Uptime https://go.microsoft.com/fwlink/?linkid=834862