diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/GetUptime.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/GetUptime.cs index ab873bf42e..86d1310809 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/GetUptime.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/GetUptime.cs @@ -12,7 +12,7 @@ namespace Microsoft.PowerShell.Commands /// /// This class implements Get-Uptime /// - [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 diff --git a/src/vs-csproj/Microsoft.PowerShell.Commands.Utility.csproj b/src/vs-csproj/Microsoft.PowerShell.Commands.Utility.csproj index f0a75c8a5a..7513116c53 100644 --- a/src/vs-csproj/Microsoft.PowerShell.Commands.Utility.csproj +++ b/src/vs-csproj/Microsoft.PowerShell.Commands.Utility.csproj @@ -193,6 +193,9 @@ commands\utility\GetUnique.cs + + commands\utility\GetUptime.cs + commands\utility\group-object.cs @@ -694,4 +697,4 @@ - \ No newline at end of file + diff --git a/test/powershell/engine/Help/assets/HelpURI/V3Cmdlets.csv b/test/powershell/engine/Help/assets/HelpURI/V3Cmdlets.csv index cbc2c68e08..71f9f3e773 100644 --- a/test/powershell/engine/Help/assets/HelpURI/V3Cmdlets.csv +++ b/test/powershell/engine/Help/assets/HelpURI/V3Cmdlets.csv @@ -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 \ No newline at end of file +Set-TimeZone,https://go.microsoft.com/fwlink/?LinkId=799469 +Get-Uptime,https://go.microsoft.com/fwlink/?linkid=834862