Skip to content

Commit 80b32e0

Browse files
Update functions-reference-powershell.md
Clarifying FUNCTIONS_EXTENSION_VERSION and FUNCTIONS_WORKER_RUNTIME_VERSION values.
1 parent 7977c0d commit 80b32e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/azure-functions/functions-reference-powershell.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,11 +412,11 @@ Support for PowerShell 7.0 in Azure Functions has ended on 3 December 2022. To u
412412
```
413413

414414
> [!NOTE]
415-
> In PowerShell Functions, "~7" refers to "7.0.x". We do not automatically upgrade PowerShell Function apps that have "~7" to "7.2". Going forward we will require that apps specify both the major and minor version they want to target. Hence, it is necessary to mention "7.2" if you want to target "7.2.x"
415+
> In PowerShell Functions, the value "~7" for FUNCTIONS_WORKER_RUNTIME_VERSION refers to "7.0.x". We do not automatically upgrade PowerShell Function apps that have "~7" to "7.2". Going forward, for PowerShell Function Apps, we will require that apps specify both the major and minor version they want to target. Hence, it is necessary to mention "7.2" if you want to target "7.2.x"
416416
417417
### Changing the PowerShell version
418418

419-
Support for PowerShell 7.0 in Azure Functions ended on 3 December 2022. Your function app must be running on version 4.x to be able to upgrade to PowerShell 7.2. To learn how to do this, see [View and update the current runtime version](set-runtime-version.md#view-and-update-the-current-runtime-version).
419+
Support for PowerShell 7.0 in Azure Functions has ended on 3 December 2022. To upgrade your Function App to PowerShell 7.2, ensure the value of FUNCTIONS_EXTENSION_VERSION is set to ~4. To learn how to do this, see [View and update the current runtime version](set-runtime-version.md#view-and-update-the-current-runtime-version).
420420

421421

422422
Use the following steps to change the PowerShell version used by your function app. You can do this either in the Azure portal or by using PowerShell.

0 commit comments

Comments
 (0)