Skip to content

Commit bfd45db

Browse files
Merge pull request #12495 from MicrosoftDocs/main
Auto Publish – main to live - 2025-11-06 23:00 UTC
2 parents 893881d + aca27e0 commit bfd45db

File tree

6 files changed

+65
-43
lines changed

6 files changed

+65
-43
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)

reference/docs-conceptual/community/2025-updates.md

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
description: List of changes to the PowerShell documentation for 2025
3-
ms.date: 09/02/2025
3+
ms.date: 11/06/2025
44
title: What's New in PowerShell-Docs for 2025
55
---
66
# What's new in PowerShell Docs for 2025
@@ -14,6 +14,37 @@ get started.
1414
<!-- Link references -->
1515
[01]: contributing/overview.md
1616

17+
## 2025-October
18+
19+
Content updates
20+
21+
- [What's New in PowerShell 7.6](/powershell/scripting/whats-new/what-s-new-in-powershell-76)
22+
- New PlatyPS documentation
23+
- [Types of help in PowerShell](/powershell/utility-modules/platyps/types-of-help)
24+
- [Create new command help Markdown using PlatyPS](/powershell/utility-modules/platyps/step-1-create-new-markdown-help)
25+
- [Update Markdown help files using Microsoft.PowerShell.PlatyPS](/powershell/utility-modules/platyps/step-1-update-markdown-help)
26+
- [Edit Markdown help files](/powershell/utility-modules/platyps/step-2-edit-markdown-help)
27+
- [Test Markdown help files](/powershell/utility-modules/platyps/step-3-test-markdown-help)
28+
- [Convert and publish the help files](/powershell/utility-modules/platyps/step-4-convert-publish-help)
29+
30+
GitHub stats
31+
32+
- 18 PRs merged (3 from Community)
33+
- 32 issues opened (29 from Community)
34+
- 34 issues closed (29 Community issues closed)
35+
36+
Top Community Contributors
37+
38+
The following people contributed to PowerShell docs this month by submitting pull requests or
39+
filing issues. Thank you!
40+
41+
| GitHub Id | PRs merged | Issues opened |
42+
| -------------- | :--------: | :-----------: |
43+
| OscarFalck17 | 1 | |
44+
| StuartMosquera | 1 | |
45+
| kMitty | | 2 |
46+
| MartinGC94 | | 2 |
47+
1748
## 2025-September
1849

1950
Content updates

reference/docs-conceptual/community/hall-of-fame.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
description: List of the GitHub users that have the most contributions to the PowerShell-Doc project.
3-
ms.date: 10/01/2025
3+
ms.date: 11/06/2025
44
title: Community contributor Hall of Fame
55
---
66
# Community Contributor Hall of Fame
@@ -17,7 +17,7 @@ Pull Requests help us fix those issues and make the documentation better for eve
1717

1818
| PRs Merged | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | 2022 | 2023 | 2024 | 2025 | Grand Total |
1919
| ------------------ | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ----------: |
20-
| Community | 3 | 194 | 446 | 467 | 321 | 160 | 99 | 121 | 108 | 81 | 138 | 2138 |
20+
| Community | 3 | 194 | 446 | 467 | 321 | 160 | 98 | 121 | 108 | 81 | 142 | 2141 |
2121
| matt9ucci | | | 157 | 80 | 30 | 1 | 6 | | | | | 274 |
2222
| nschonni | | | | 14 | 138 | 10 | | | | | | 162 |
2323
| kiazhi | | 25 | 79 | 12 | | | | | | | | 116 |
@@ -48,19 +48,19 @@ GitHub issues help us identify errors and gaps in our documentation.
4848

4949
| Issues Opened | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | 2022 | 2023 | 2024 | 2025 | Grand Total |
5050
| ------------------ | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ----------: |
51-
| Community | 3 | 54 | 95 | 210 | 562 | 557 | 363 | 225 | 270 | 220 | 117 | 2676 |
51+
| Community | 3 | 54 | 95 | 210 | 562 | 557 | 363 | 225 | 270 | 220 | 134 | 2693 |
5252
| mklement0 | | | 19 | 60 | 56 | 61 | 28 | 8 | 20 | 24 | 2 | 278 |
5353
| ehmiiz | | | | | | | | 20 | 14 | | | 34 |
5454
| iSazonov | | | 1 | 4 | 10 | 8 | 4 | 3 | | 1 | | 31 |
55-
| iRon7 | | | | | | 2 | 2 | 2 | 10 | 8 | 3 | 27 |
55+
| iRon7 | | | | | | 2 | 2 | 2 | 10 | 8 | 4 | 28 |
5656
| jszabo98 | | | | 2 | 15 | 6 | 1 | | 1 | 2 | | 27 |
5757
| juvtib | | | | | | 15 | 7 | | | | | 22 |
5858
| surfingoldelephant | | | | | | | | | | 6 | 15 | 21 |
5959
| doctordns | | | 5 | 3 | 5 | 7 | 1 | | | | | 21 |
6060
| peetrike | | | | 1 | | 4 | 2 | 6 | 4 | 3 | | 20 |
6161
| JustinGrote | | | | 1 | 3 | 6 | 1 | 1 | 2 | 2 | 2 | 18 |
62+
| kilasuit | | | | | 3 | 2 | 1 | 4 | 1 | 3 | 4 | 18 |
6263
| vexx32 | | | | 3 | 11 | | | 3 | | | | 17 |
63-
| kilasuit | | | | | 3 | 2 | 1 | 4 | 1 | 3 | 3 | 17 |
6464
| KirkMunro | | | | 7 | 7 | 1 | | | | | | 15 |
6565
| alexandair | | 9 | 4 | 2 | | | | | | | | 15 |
6666
| clamb123 | | | | | | | 14 | | | | | 14 |

reference/docs-conceptual/learn/ps101/10-script-modules.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -356,10 +356,10 @@ Sometimes, your module might include helper functions you don't want to expose t
356356
private functions are used internally by other functions in the module but aren't exposed to users.
357357
There are a few ways to handle this scenario.
358358

359-
If you're not following best practices and only have a `.psm1` file without a proper module
360-
structure, your only option is to control visibility using the `Export-ModuleMember` cmdlet. This
361-
option lets you explicitly define which functions should be exposed directly from within the `.psm1`
362-
script module file, keeping everything else private by default.
359+
If you're not following best practices and only have a `.psm1` file without a module manifest, your
360+
only option is to control visibility using the `Export-ModuleMember` cmdlet. This option lets you
361+
explicitly define which functions should be exposed directly from within the `.psm1` script module
362+
file, keeping everything else private by default.
363363

364364
In the following example, only the `Get-MrPSVersion` function is exposed to users of your module,
365365
while the `Get-MrComputerName` function remains accessible internally to other functions within the

0 commit comments

Comments
 (0)