Service | Microsoft Docs article | Related commit history on GitHub | Change details |
---|---|---|---|
Microsoft.PowerShell.Core | About Functions Argument Completion (5.1) | https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/5.1/Microsoft.PowerShell.Core/About/about_Functions_Argument_Completion.md | --- description: Explains the various argument completion options available for function parameters. Locale: en-US Previously updated : 07/27/2021 Last updated : 01/04/2022 online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_Functions_Argument_Completion?view=powershell-5.1&WT.mc_id=ps-gethelp schema: 2.0.0 Title: About functions argument completion command and uses <kbd>Tab</kbd> completion, only **Apple** is returned. ```powershell function MyArgumentCompleter{- param ( $commaName, + param ( $commandName, $parameterName, $wordToComplete, $commandAst, |
Microsoft.PowerShell.Core | About Functions Argument Completion (7.0) | https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/Microsoft.PowerShell.Core/About/about_Functions_Argument_Completion.md | command and uses <kbd>Tab</kbd> completion, only **Apple** is returned. ```powershell function MyArgumentCompleter{- param ( $commaName, + param ( $commandName, $parameterName, $wordToComplete, $commandAst, |
Microsoft.PowerShell.Core | About Functions Argument Completion (7.1) | https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/Microsoft.PowerShell.Core/About/about_Functions_Argument_Completion.md | command and uses <kbd>Tab</kbd> completion, only **Apple** is returned. ```powershell function MyArgumentCompleter{- param ( $commaName, + param ( $commandName, $parameterName, $wordToComplete, $commandAst, |
Microsoft.PowerShell.Core | About Functions Argument Completion (7.2) | https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/Microsoft.PowerShell.Core/About/about_Functions_Argument_Completion.md | command and uses <kbd>Tab</kbd> completion, only **Apple** is returned. ```powershell function MyArgumentCompleter{- param ( $commaName, + param ( $commandName, $parameterName, $wordToComplete, $commandAst, |
Microsoft.PowerShell.Core | About Functions Argument Completion (7.3) | https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.3/Microsoft.PowerShell.Core/About/about_Functions_Argument_Completion.md | command and uses <kbd>Tab</kbd> completion, only **Apple** is returned. ```powershell function MyArgumentCompleter{- param ( $commaName, + param ( $commandName, $parameterName, $wordToComplete, $commandAst, |
install | Installing Powershell On Windows | https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/install/Installing-PowerShell-on-Windows.md | --- description: Information about installing PowerShell on Windows Previously updated : 11/15/2021 Last updated : 01/04/2022 Title: Installing PowerShell on Windows --- # Installing PowerShell on Windows The installer creates a shortcut in the Windows Start Menu. ### Support for Microsoft Update in PowerShell 7.2 -PowerShell 7.2 has support for Microsoft Update. When you enable this feature, you'll get -the latest PowerShell 7 updates in your traditional Microsoft Update (MU) management flow, whether -that's with Windows Update for Business, WSUS, SCCM, or the interactive MU dialog in Settings. +PowerShell 7.2 has support for Microsoft Update. When you enable this feature, you'll get the latest +PowerShell 7 updates in your traditional Microsoft Update (MU) management flow, whether that's with +Windows Update for Business, WSUS, Microsoft Endpoint Configuration Manager, or the interactive MU +dialog in Settings. The PowerShell 7.2 MSI package includes following command-line options: - `USE_MU` - This property has two possible values:- - `1` (default) - Opts into updating through Microsoft Update, WSUS, or SCCM - - `0` - Do not opt into updating through Microsoft Update, WSUS, or SCCM + - `1` (default) - Opts into updating through Microsoft Update, WSUS, or Configuration Manager + - `0` - Do not opt into updating through Microsoft Update, WSUS, or Configuration Manager - `ENABLE_MU` - `1` (default) - Opts into using Microsoft Update for Automatic Updates - `0` - Do not opt into using Microsoft Update The PowerShell 7.2 MSI package includes following command-line options: For more information, see the [PowerShell Microsoft Update FAQ](microsoft-update-faq.yml). -### Administrative install from the command line +### Install the MSI package from the command line MSI packages can be installed from the command line allowing administrators to deploy packages without user interaction. The MSI package includes the following properties to control the PowerShell 7.2 can be installed from the Microsoft Store. You can find the Power Benefits of the Microsoft Store package: - Automatic updates built right into Windows-- Integrates with other software distribution mechanisms like Intune and SCCM+- Integrates with other software distribution mechanisms like Intune and Configuration Manager ### Known limitations |
learn | 06 Flow Control | https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/learn/ps101/06-flow-control.md | foreach ($n in $number) { 4 ``` -Notice that in the previous example, return outputs the first result and then exists out of the +Notice that in the previous example, return outputs the first result and then exits out of the loop. A more thorough explanation of the result statement can be found in one of my blog articles: ["The PowerShell return keyword"]["The PowerShell return keyword"]. |
module | Index | https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/module/index.md | ms. ms.product: powershell quickFilterColumn1: powershell-7.1,windowsserver2019-ps-quickFilterColumn2: azps-7.0.0,win-mdop2-ps +quickFilterColumn2: azps-7.1.0,win-mdop2-ps quickFilterColumn3: sqlserver-ps,systemcenter-ps-2019 Title: PowerShell Module Browser --- |