
about_Variables - PowerShell | Microsoft Learn
Working with variables To create a new variable, use an assignment statement to assign a value to the variable. You don't have to declare the variable before using it. The default value of all variables is …
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 examples, but …
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 Expressions.
Get Started with Variable Libraries - Microsoft Fabric
Dec 15, 2025 · Learn how to manage Microsoft Fabric variable libraries to customize and share item configurations in a workspace.
SELECT @local_variable (Transact-SQL) - SQL Server
Nov 18, 2025 · SELECT @ local_variable is typically used to return a single value into the variable. However, when expression is the name of a column, it can return multiple values.
Manage variable groups - Azure Pipelines | Microsoft Learn
Jul 15, 2025 · To reference a variable in a variable group, you can use macro syntax or a runtime expression. In the following examples, the group my-variable-group has a variable named myhello.
SET @local_variable (Transact-SQL) - SQL Server | Microsoft Learn
Nov 18, 2025 · The following example creates a local variable named @dept and uses this local variable in a SELECT statement to find the first name (FirstName) and family name (LastName) of all …
Define variables - Azure Pipelines | Microsoft Learn
Oct 27, 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 variable …
Task sequence variable reference - Configuration Manager
Jul 17, 2025 · Use the browser Find function (typically CTRL + F) to find a specific variable. The variable notes if it's specific to particular step. The article on task sequence steps includes the list of variables …
Variables actions reference - Power Automate | Microsoft Learn
Jun 20, 2024 · To increase or decrease the value of a numeric variable, use the Increase variable and Decrease variable actions, respectively. Most actions output their result into a variable.