Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

5/24/2024 PM Publish #11142

Merged
merged 1 commit into from
May 24, 2024
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
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
description: Explains how to use the Tab Expansion feature in PowerShell.
Locale: en-US
ms.date: 12/05/2023
ms.date: 05/16/2024
no-loc: [<kbd>Tab</kbd>, <kbd>Ctrl</kbd>, <kbd>Space</kbd>]
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_tab_expansion?view=powershell-7.5&WT.mc_id=ps-gethelp
schema: 2.0.0
Expand Down Expand Up @@ -36,13 +36,22 @@ information, see [about_PSReadLine][02].
> contain tabs. If it does, the results will be unpredictable and will almost
> certainly not be what you intended.
## File and cmdlet name completion
## File and path name completion

To fill in a filename or path from the available choices automatically, type
part of the name and press the <kbd>Tab</kbd> key. PowerShell automatically
expands the name to the first match that it finds. Pressing the <kbd>Tab</kbd>
key repeatedly cycles through all the available choices.

When the tilde character (`~`) appears at the beginning of a path, PowerShell
interprets it as the user's home directory. This interpretation is common on
Linux and macOS systems. However, many native commands on Windows don't use
this interpretation. Beginning in PowerShell 7.5-preview.3 on Windows, the
tilde character is character is expanded to `$HOME` when using tab completion.
This expansion works with Windows native commands.

## Cmdlet name completion

The tab expansion of cmdlet names is slightly different. To use tab expansion
on a cmdlet name, type the entire first part of the name (the verb) and the
hyphen that follows it. You can fill in more of the name for a partial match.
Expand Down
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: 05/16/2024
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/convertto-json?view=powershell-7.5&WT.mc_id=ps-gethelp
schema: 2.0.0
title: ConvertTo-Json
Expand Down Expand Up @@ -41,6 +41,9 @@ web-based apps.
As of PowerShell 7.1, `ConvertTo-Json` emits a warning if the depth of the input object exceeds
the depth specified for the command. This prevents unwanted data loss when converting objects.

As of PowerShell 7.5-preview.3, `ConvertTo-Json` can serialize **BigInteger** values as raw JSON
numbers.

This cmdlet was introduced in Windows PowerShell 3.0.

## EXAMPLES
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
title: What's New in PowerShell 7.5
description: New features and changes released in PowerShell 7.5
ms.date: 02/23/2024
ms.date: 05/16/2024
---

# What's New in PowerShell 7.5

PowerShell 7.5-preview.2 includes the following features, updates, and breaking changes. PowerShell
7.5 is built on .NET 9.0.0-preview.1.
PowerShell 7.5-preview.3 includes the following features, updates, and breaking changes. PowerShell
7.5 is built on .NET 9.0.0-preview.3.

For a complete list of changes, see the [CHANGELOG][chg] in the GitHub repository.

Expand All @@ -18,11 +18,27 @@ For a complete list of changes, see the [CHANGELOG][chg] in the GitHub repositor
- Previously `-OlderThan` would be ignored if specified together
- Change `New-FileCatalog -CatalogVersion` default to 2 ([#20428][20428]) (Thanks @ThomasNieto!)
- Block getting help from network locations in restricted remoting sessions ([#20593][20593])
- The Windows installer now remembers installation options used and uses them to initialize options
for the next installation ([#20420][20420]) (Thanks @reduckted!)
- `ConvertTo-Json` now serializes `BigInteger` as a number ([#21000][21000]) (Thanks @jborean93!)

## Updated modules

PowerShell 7.5-preview.3 includes the following updated modules:

- **Microsoft.PowerShell.PSResourceGet** v1.0.5
- **PSReadLine** v2.3.4

## Tab completion improvements

Many thanks to **@ArmaanMcleod** and others for all their work to improve tab completion.

- Fall back to type inference when hashtable key-value cannot be retrieved from safe expression
([#21184][21184]) (Thanks @MartinGC94!)
- Fix the regression when doing type inference for `$_` ([#21223][21223]) (Thanks @MartinGC94!)
- Expand `~` to `$home` on Windows with tab completion ([#21529][21529])
- Don't complete when declaring parameter name and class member ([#21182][21182]) (Thanks
@MartinGC94!)
- Prevent fallback to file completion when tab completing type names ([#20084][20084]) (Thanks
@MartinGC94)
- Add argument completer to `-Version` for `Set-StrictMode` ([#20554][20554]) (Thanks
Expand All @@ -43,6 +59,10 @@ Many thanks to **@ArmaanMcleod** and others for all their work to improve tab co

## Other cmdlet improvements

- `Get-Process`: Remove admin requirement for `-IncludeUserName` ([#21302][21302]) (Thanks @jborean93!)
- Fix `Test-Path -IsValid` to check for invalid path and filename characters ([#21358][21358])
- Add `RecommendedAction` to `ConciseView` of the error reporting ([#20826][20826]) (Thanks @JustinGrote!)
- Added progress bar for `Remove-Item` cmdlet ([#20778][20778]) (Thanks @ArmaanMcleod!)
- Fix `Test-Connection` due to .NET 8 changes ([#20369][20369])
- Fix `Get-Service` non-terminating error message to include category ([#20276][20276])
- Add `-Empty` and `-InputObject` parameters to `New-Guid` ([#20014][20014]) (Thanks @CarloToso!)
Expand Down Expand Up @@ -110,8 +130,10 @@ Many thanks to **@ArmaanMcleod** and others for all their work to improve tab co
[20367]: https://github.com/PowerShell/PowerShell/pull/20367
[20369]: https://github.com/PowerShell/PowerShell/pull/20369
[20371]: https://github.com/PowerShell/PowerShell/pull/20371
[20402]: https://github.com/PowerShell/PowerShell/pull/20402
[20415]: https://github.com/PowerShell/PowerShell/pull/20415
[20419]: https://github.com/PowerShell/PowerShell/pull/20419
[20420]: https://github.com/PowerShell/PowerShell/pull/20420
[20428]: https://github.com/PowerShell/PowerShell/pull/20428
[20451]: https://github.com/PowerShell/PowerShell/pull/20451
[20460]: https://github.com/PowerShell/PowerShell/pull/20460
Expand All @@ -126,17 +148,25 @@ Many thanks to **@ArmaanMcleod** and others for all their work to improve tab co
[20734]: https://github.com/PowerShell/PowerShell/pull/20734
[20745]: https://github.com/PowerShell/PowerShell/pull/20745
[20749]: https://github.com/PowerShell/PowerShell/pull/20749
[20778]: https://github.com/PowerShell/PowerShell/pull/20778
[20793]: https://github.com/PowerShell/PowerShell/pull/20793
[20820]: https://github.com/PowerShell/PowerShell/pull/20820
[20826]: https://github.com/PowerShell/PowerShell/pull/20826
[20853]: https://github.com/PowerShell/PowerShell/pull/20853
[20910]: https://github.com/PowerShell/PowerShell/pull/20910
[20913]: https://github.com/PowerShell/PowerShell/pull/20913
[20925]: https://github.com/PowerShell/PowerShell/pull/20925
[20942]: https://github.com/PowerShell/PowerShell/pull/20942
[20994]: https://github.com/PowerShell/PowerShell/pull/20994
[20402]: https://github.com/PowerShell/PowerShell/pull/20402
[20925]: https://github.com/PowerShell/PowerShell/pull/20925
[21000]: https://github.com/PowerShell/PowerShell/pull/21000
[21040]: https://github.com/PowerShell/PowerShell/pull/21040
[21085]: https://github.com/PowerShell/PowerShell/pull/21085
[21126]: https://github.com/PowerShell/PowerShell/pull/21126
[21162]: https://github.com/PowerShell/PowerShell/pull/21162
[21169]: https://github.com/PowerShell/PowerShell/pull/21169
[21182]: https://github.com/PowerShell/PowerShell/pull/21182
[21184]: https://github.com/PowerShell/PowerShell/pull/21184
[21223]: https://github.com/PowerShell/PowerShell/pull/21223
[21302]: https://github.com/PowerShell/PowerShell/pull/21302
[21358]: https://github.com/PowerShell/PowerShell/pull/21358
[21529]: https://github.com/PowerShell/PowerShell/pull/21529