Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 8 additions & 11 deletions reference/7.4/Microsoft.PowerShell.Utility/Get-Uptime.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml
Locale: en-US
Module Name: Microsoft.PowerShell.Utility
ms.date: 12/12/2022
ms.date: 11/06/2025
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/get-uptime?view=powershell-7.4&WT.mc_id=ps-gethelp
schema: 2.0.0
title: Get-Uptime
Expand All @@ -11,6 +11,7 @@ title: Get-Uptime
# Get-Uptime

## SYNOPSIS

Get the **TimeSpan** since last boot.

## SYNTAX
Expand Down Expand Up @@ -88,7 +89,8 @@ Accept wildcard characters: False

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose,
-WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
-WarningAction, and -WarningVariable. For more information, see
[about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).

## INPUTS

Expand All @@ -107,18 +109,13 @@ By default, this cmdlet returns a **TimeSpan** object representing the elapsed t
When you use the **Since** parameter, this cmdlet returns a **DateTime** object representing the
last boot time.

> [!NOTE]
> If Windows fast startup is enabled, Windows does not update the value stored in
> **LastBootUpTime**. To disable fast startup, run the following command: `Powercfg -h off`.
>
> For more information about Windows fast startup, see
> [Distinguishing Fast Startup from Wake-from-Hibernation](/windows-hardware/drivers/kernel/distinguishing-fast-startup-from-wake-from-hibernation).

## NOTES

On Windows, the value returned is the same as the **LastBootUpTime** property of the
This command uses a high resolution timer to calculate the uptime. This time record the number of
ticks since the system started. As a result, the reported uptime may differ slightly from other
methods of calculating system uptime, such as the **LastBootUpTime** property of the
**Win32_OperatingSystem** class in WMI.

## RELATED LINKS

[Win32_OperatingSystem](/windows/win32/cimwin32prov/win32-operatingsystem#properties)
[Win32_OperatingSystem class](/windows/win32/cimwin32prov/win32-operatingsystem#properties)
19 changes: 8 additions & 11 deletions reference/7.5/Microsoft.PowerShell.Utility/Get-Uptime.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml
Locale: en-US
Module Name: Microsoft.PowerShell.Utility
ms.date: 12/12/2022
ms.date: 11/06/2025
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/get-uptime?view=powershell-7.5&WT.mc_id=ps-gethelp
schema: 2.0.0
title: Get-Uptime
Expand All @@ -11,6 +11,7 @@ title: Get-Uptime
# Get-Uptime

## SYNOPSIS

Get the **TimeSpan** since last boot.

## SYNTAX
Expand Down Expand Up @@ -88,7 +89,8 @@ Accept wildcard characters: False

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose,
-WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
-WarningAction, and -WarningVariable. For more information, see
[about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).

## INPUTS

Expand All @@ -107,18 +109,13 @@ By default, this cmdlet returns a **TimeSpan** object representing the elapsed t
When you use the **Since** parameter, this cmdlet returns a **DateTime** object representing the
last boot time.

> [!NOTE]
> If Windows fast startup is enabled, Windows does not update the value stored in
> **LastBootUpTime**. To disable fast startup, run the following command: `Powercfg -h off`.
>
> For more information about Windows fast startup, see
> [Distinguishing Fast Startup from Wake-from-Hibernation](/windows-hardware/drivers/kernel/distinguishing-fast-startup-from-wake-from-hibernation).

## NOTES

On Windows, the value returned is the same as the **LastBootUpTime** property of the
This command uses a high resolution timer to calculate the uptime. This time record the number of
ticks since the system started. As a result, the reported uptime may differ slightly from other
methods of calculating system uptime, such as the **LastBootUpTime** property of the
**Win32_OperatingSystem** class in WMI.

## RELATED LINKS

[Win32_OperatingSystem](/windows/win32/cimwin32prov/win32-operatingsystem#properties)
[Win32_OperatingSystem class](/windows/win32/cimwin32prov/win32-operatingsystem#properties)
19 changes: 8 additions & 11 deletions reference/7.6/Microsoft.PowerShell.Utility/Get-Uptime.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml
Locale: en-US
Module Name: Microsoft.PowerShell.Utility
ms.date: 12/12/2022
ms.date: 11/06/2025
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/get-uptime?view=powershell-7.6&WT.mc_id=ps-gethelp
schema: 2.0.0
title: Get-Uptime
Expand All @@ -11,6 +11,7 @@ title: Get-Uptime
# Get-Uptime

## SYNOPSIS

Get the **TimeSpan** since last boot.

## SYNTAX
Expand Down Expand Up @@ -88,7 +89,8 @@ Accept wildcard characters: False

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose,
-WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
-WarningAction, and -WarningVariable. For more information, see
[about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).

## INPUTS

Expand All @@ -107,18 +109,13 @@ By default, this cmdlet returns a **TimeSpan** object representing the elapsed t
When you use the **Since** parameter, this cmdlet returns a **DateTime** object representing the
last boot time.

> [!NOTE]
> If Windows fast startup is enabled, Windows does not update the value stored in
> **LastBootUpTime**. To disable fast startup, run the following command: `Powercfg -h off`.
>
> For more information about Windows fast startup, see
> [Distinguishing Fast Startup from Wake-from-Hibernation](/windows-hardware/drivers/kernel/distinguishing-fast-startup-from-wake-from-hibernation).

## NOTES

On Windows, the value returned is the same as the **LastBootUpTime** property of the
This command uses a high resolution timer to calculate the uptime. This time record the number of
ticks since the system started. As a result, the reported uptime may differ slightly from other
methods of calculating system uptime, such as the **LastBootUpTime** property of the
**Win32_OperatingSystem** class in WMI.

## RELATED LINKS

[Win32_OperatingSystem](/windows/win32/cimwin32prov/win32-operatingsystem#properties)
[Win32_OperatingSystem class](/windows/win32/cimwin32prov/win32-operatingsystem#properties)
33 changes: 32 additions & 1 deletion reference/docs-conceptual/community/2025-updates.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: List of changes to the PowerShell documentation for 2025
ms.date: 09/02/2025
ms.date: 11/06/2025
title: What's New in PowerShell-Docs for 2025
---
# What's new in PowerShell Docs for 2025
Expand All @@ -14,6 +14,37 @@ get started.
<!-- Link references -->
[01]: contributing/overview.md

## 2025-October

Content updates

- [What's New in PowerShell 7.6](/powershell/scripting/whats-new/what-s-new-in-powershell-76)
- New PlatyPS documentation
- [Types of help in PowerShell](/powershell/utility-modules/platyps/types-of-help)
- [Create new command help Markdown using PlatyPS](/powershell/utility-modules/platyps/step-1-create-new-markdown-help)
- [Update Markdown help files using Microsoft.PowerShell.PlatyPS](/powershell/utility-modules/platyps/step-1-update-markdown-help)
- [Edit Markdown help files](/powershell/utility-modules/platyps/step-2-edit-markdown-help)
- [Test Markdown help files](/powershell/utility-modules/platyps/step-3-test-markdown-help)
- [Convert and publish the help files](/powershell/utility-modules/platyps/step-4-convert-publish-help)

GitHub stats

- 18 PRs merged (3 from Community)
- 32 issues opened (29 from Community)
- 34 issues closed (29 Community issues closed)

Top Community Contributors

The following people contributed to PowerShell docs this month by submitting pull requests or
filing issues. Thank you!

| GitHub Id | PRs merged | Issues opened |
| -------------- | :--------: | :-----------: |
| OscarFalck17 | 1 | |
| StuartMosquera | 1 | |
| kMitty | | 2 |
| MartinGC94 | | 2 |

## 2025-September

Content updates
Expand Down
10 changes: 5 additions & 5 deletions reference/docs-conceptual/community/hall-of-fame.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: List of the GitHub users that have the most contributions to the PowerShell-Doc project.
ms.date: 10/01/2025
ms.date: 11/06/2025
title: Community contributor Hall of Fame
---
# Community Contributor Hall of Fame
Expand All @@ -17,7 +17,7 @@ Pull Requests help us fix those issues and make the documentation better for eve

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

| Issues Opened | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | 2022 | 2023 | 2024 | 2025 | Grand Total |
| ------------------ | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ----------: |
| Community | 3 | 54 | 95 | 210 | 562 | 557 | 363 | 225 | 270 | 220 | 117 | 2676 |
| Community | 3 | 54 | 95 | 210 | 562 | 557 | 363 | 225 | 270 | 220 | 134 | 2693 |
| mklement0 | | | 19 | 60 | 56 | 61 | 28 | 8 | 20 | 24 | 2 | 278 |
| ehmiiz | | | | | | | | 20 | 14 | | | 34 |
| iSazonov | | | 1 | 4 | 10 | 8 | 4 | 3 | | 1 | | 31 |
| iRon7 | | | | | | 2 | 2 | 2 | 10 | 8 | 3 | 27 |
| iRon7 | | | | | | 2 | 2 | 2 | 10 | 8 | 4 | 28 |
| jszabo98 | | | | 2 | 15 | 6 | 1 | | 1 | 2 | | 27 |
| juvtib | | | | | | 15 | 7 | | | | | 22 |
| surfingoldelephant | | | | | | | | | | 6 | 15 | 21 |
| doctordns | | | 5 | 3 | 5 | 7 | 1 | | | | | 21 |
| peetrike | | | | 1 | | 4 | 2 | 6 | 4 | 3 | | 20 |
| JustinGrote | | | | 1 | 3 | 6 | 1 | 1 | 2 | 2 | 2 | 18 |
| kilasuit | | | | | 3 | 2 | 1 | 4 | 1 | 3 | 4 | 18 |
| vexx32 | | | | 3 | 11 | | | 3 | | | | 17 |
| kilasuit | | | | | 3 | 2 | 1 | 4 | 1 | 3 | 3 | 17 |
| KirkMunro | | | | 7 | 7 | 1 | | | | | | 15 |
| alexandair | | 9 | 4 | 2 | | | | | | | | 15 |
| clamb123 | | | | | | | 14 | | | | | 14 |
Expand Down
8 changes: 4 additions & 4 deletions reference/docs-conceptual/learn/ps101/10-script-modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -356,10 +356,10 @@ Sometimes, your module might include helper functions you don't want to expose t
private functions are used internally by other functions in the module but aren't exposed to users.
There are a few ways to handle this scenario.

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

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