Skip to content

Commit 7ee5dcb

Browse files
Update functions-reference-powershell.md
1. Reverting title back to 'Running locally on a specific version' 2. Changing ~7.2 to 7.2
1 parent fe6fafc commit 7ee5dcb

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
@@ -397,7 +397,7 @@ You can see the current version by printing `$PSVersionTable` from any function.
397397

398398
To learn more about Azure Functions runtime support policy, please refer to this [article](./language-support-policy.md)
399399

400-
### Running locally on PowerShell 7.2
400+
### Running locally on a specific version
401401

402402
When running locally, the Azure Functions runtime defaults to using PowerShell 7.0. Support for PowerShell 7.0 in Azure Functions is ending on 3 December 2022. To use PowerShell 7.2 when running locally, you need to add the setting `"FUNCTIONS_WORKER_RUNTIME_VERSION" : "~7.2"` to the `Values` array in the local.setting.json file in the project root. When running locally on PowerShell 7.2, your local.settings.json file looks like the following example:
403403

@@ -407,7 +407,7 @@ When running locally, the Azure Functions runtime defaults to using PowerShell 7
407407
"Values": {
408408
"AzureWebJobsStorage": "",
409409
"FUNCTIONS_WORKER_RUNTIME": "powershell",
410-
"FUNCTIONS_WORKER_RUNTIME_VERSION" : "~7.2"
410+
"FUNCTIONS_WORKER_RUNTIME_VERSION" : "7.2"
411411
}
412412
}
413413
```

0 commit comments

Comments
 (0)