mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
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:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user