
about_Variables - PowerShell | Microsoft Learn
To use a variable in a command or expression, type the variable name, preceded by the dollar ($) sign. If the variable name and dollar sign aren't enclosed in quotation marks, or if they're …
about_PSItem - PowerShell | Microsoft Learn
PowerShell includes the $PSItem variable and its alias, $_, as automatic variables in scriptblocks that process the current object, such as in the pipeline. This article uses $PSItem in the …
DECLARE @local_variable (Transact-SQL) - SQL Server
Nov 18, 2025 · The value can be a constant or an expression, but it must either match the variable declaration type or be implicitly convertible to that type. For more information, see …
Define variables - Azure Pipelines | Microsoft Learn
Oct 1, 2025 · User-defined variables can be set as read-only. There are naming restrictions for variables (example: you can't use secret at the start of a variable name). You can use a …
How to: Create a New Variable - Visual Basic | Microsoft Learn
Sep 15, 2021 · How to: Create a New Variable (Visual Basic) You create a variable with a Dim Statement.
Predefined variables - Azure Pipelines | Microsoft Learn
When you use a variable in a template that isn't marked as available in templates. The variable doesn't render because its value isn't accessible within the template's scope.
Set function - Power Platform | Microsoft Learn
Mar 22, 2024 · Use the Set function to set the value of a global variable, which temporarily holds a piece of information, such as the number of times the user has selected a button or the result …
Use variables in Classic release pipelines - Azure Pipelines
Aug 16, 2024 · Use custom variables To use custom variables in your tasks, enclose the variable name in parentheses and precede it with a $ character. For example, if you have a variable …
Understand variables in canvas apps - Power Apps | Microsoft Learn
Aug 27, 2025 · To declare a variable and its type, just include it in any of these functions anywhere in your app. These functions don't create variables; they only fill variables with …
Work with variables - Microsoft Copilot Studio
Oct 4, 2025 · In the Variable properties panel, you can rename a variable, see where your agent uses it, or convert it to a global variable. You can't convert a global variable back to a topic …