Skip to content

Commit 8ba43a3

Browse files
authored
Update description of output (MicrosoftDocs#12493)
1 parent 88629db commit 8ba43a3

File tree

3 files changed

+24
-33
lines changed

3 files changed

+24
-33
lines changed

reference/7.4/Microsoft.PowerShell.Utility/Get-Uptime.md

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml
33
Locale: en-US
44
Module Name: Microsoft.PowerShell.Utility
5-
ms.date: 12/12/2022
5+
ms.date: 11/06/2025
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/get-uptime?view=powershell-7.4&WT.mc_id=ps-gethelp
77
schema: 2.0.0
88
title: Get-Uptime
@@ -11,6 +11,7 @@ title: Get-Uptime
1111
# Get-Uptime
1212

1313
## SYNOPSIS
14+
1415
Get the **TimeSpan** since last boot.
1516

1617
## SYNTAX
@@ -88,7 +89,8 @@ Accept wildcard characters: False
8889
8990
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
9091
-InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose,
91-
-WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
92+
-WarningAction, and -WarningVariable. For more information, see
93+
[about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
9294
9395
## INPUTS
9496
@@ -107,18 +109,13 @@ By default, this cmdlet returns a **TimeSpan** object representing the elapsed t
107109
When you use the **Since** parameter, this cmdlet returns a **DateTime** object representing the
108110
last boot time.
109111
110-
> [!NOTE]
111-
> If Windows fast startup is enabled, Windows does not update the value stored in
112-
> **LastBootUpTime**. To disable fast startup, run the following command: `Powercfg -h off`.
113-
>
114-
> For more information about Windows fast startup, see
115-
> [Distinguishing Fast Startup from Wake-from-Hibernation](/windows-hardware/drivers/kernel/distinguishing-fast-startup-from-wake-from-hibernation).
116-
117112
## NOTES
118113
119-
On Windows, the value returned is the same as the **LastBootUpTime** property of the
114+
This command uses a high resolution timer to calculate the uptime. This time record the number of
115+
ticks since the system started. As a result, the reported uptime may differ slightly from other
116+
methods of calculating system uptime, such as the **LastBootUpTime** property of the
120117
**Win32_OperatingSystem** class in WMI.
121118
122119
## RELATED LINKS
123120
124-
[Win32_OperatingSystem](/windows/win32/cimwin32prov/win32-operatingsystem#properties)
121+
[Win32_OperatingSystem class](/windows/win32/cimwin32prov/win32-operatingsystem#properties)

reference/7.5/Microsoft.PowerShell.Utility/Get-Uptime.md

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml
33
Locale: en-US
44
Module Name: Microsoft.PowerShell.Utility
5-
ms.date: 12/12/2022
5+
ms.date: 11/06/2025
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/get-uptime?view=powershell-7.5&WT.mc_id=ps-gethelp
77
schema: 2.0.0
88
title: Get-Uptime
@@ -11,6 +11,7 @@ title: Get-Uptime
1111
# Get-Uptime
1212

1313
## SYNOPSIS
14+
1415
Get the **TimeSpan** since last boot.
1516

1617
## SYNTAX
@@ -88,7 +89,8 @@ Accept wildcard characters: False
8889
8990
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
9091
-InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose,
91-
-WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
92+
-WarningAction, and -WarningVariable. For more information, see
93+
[about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
9294
9395
## INPUTS
9496
@@ -107,18 +109,13 @@ By default, this cmdlet returns a **TimeSpan** object representing the elapsed t
107109
When you use the **Since** parameter, this cmdlet returns a **DateTime** object representing the
108110
last boot time.
109111
110-
> [!NOTE]
111-
> If Windows fast startup is enabled, Windows does not update the value stored in
112-
> **LastBootUpTime**. To disable fast startup, run the following command: `Powercfg -h off`.
113-
>
114-
> For more information about Windows fast startup, see
115-
> [Distinguishing Fast Startup from Wake-from-Hibernation](/windows-hardware/drivers/kernel/distinguishing-fast-startup-from-wake-from-hibernation).
116-
117112
## NOTES
118113
119-
On Windows, the value returned is the same as the **LastBootUpTime** property of the
114+
This command uses a high resolution timer to calculate the uptime. This time record the number of
115+
ticks since the system started. As a result, the reported uptime may differ slightly from other
116+
methods of calculating system uptime, such as the **LastBootUpTime** property of the
120117
**Win32_OperatingSystem** class in WMI.
121118
122119
## RELATED LINKS
123120
124-
[Win32_OperatingSystem](/windows/win32/cimwin32prov/win32-operatingsystem#properties)
121+
[Win32_OperatingSystem class](/windows/win32/cimwin32prov/win32-operatingsystem#properties)

reference/7.6/Microsoft.PowerShell.Utility/Get-Uptime.md

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml
33
Locale: en-US
44
Module Name: Microsoft.PowerShell.Utility
5-
ms.date: 12/12/2022
5+
ms.date: 11/06/2025
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/get-uptime?view=powershell-7.6&WT.mc_id=ps-gethelp
77
schema: 2.0.0
88
title: Get-Uptime
@@ -11,6 +11,7 @@ title: Get-Uptime
1111
# Get-Uptime
1212

1313
## SYNOPSIS
14+
1415
Get the **TimeSpan** since last boot.
1516

1617
## SYNTAX
@@ -88,7 +89,8 @@ Accept wildcard characters: False
8889
8990
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
9091
-InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose,
91-
-WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
92+
-WarningAction, and -WarningVariable. For more information, see
93+
[about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
9294
9395
## INPUTS
9496
@@ -107,18 +109,13 @@ By default, this cmdlet returns a **TimeSpan** object representing the elapsed t
107109
When you use the **Since** parameter, this cmdlet returns a **DateTime** object representing the
108110
last boot time.
109111
110-
> [!NOTE]
111-
> If Windows fast startup is enabled, Windows does not update the value stored in
112-
> **LastBootUpTime**. To disable fast startup, run the following command: `Powercfg -h off`.
113-
>
114-
> For more information about Windows fast startup, see
115-
> [Distinguishing Fast Startup from Wake-from-Hibernation](/windows-hardware/drivers/kernel/distinguishing-fast-startup-from-wake-from-hibernation).
116-
117112
## NOTES
118113
119-
On Windows, the value returned is the same as the **LastBootUpTime** property of the
114+
This command uses a high resolution timer to calculate the uptime. This time record the number of
115+
ticks since the system started. As a result, the reported uptime may differ slightly from other
116+
methods of calculating system uptime, such as the **LastBootUpTime** property of the
120117
**Win32_OperatingSystem** class in WMI.
121118
122119
## RELATED LINKS
123120
124-
[Win32_OperatingSystem](/windows/win32/cimwin32prov/win32-operatingsystem#properties)
121+
[Win32_OperatingSystem class](/windows/win32/cimwin32prov/win32-operatingsystem#properties)

0 commit comments

Comments
 (0)