
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 …
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.
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.
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.
Use variables in Classic release pipelines - Azure Pipelines
Oct 27, 2025 · 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 named …
Dim statement (VBA) | Microsoft Learn
Mar 30, 2022 · Use the Dim statement at the module or procedure level to declare the data type of a variable. For example, the following statement declares a variable as an Integer.
Silent install of Office using a variable - Microsoft Q&A
Feb 3, 2023 · It doesn`t put the variable as the assigned letter and when i try to put the whole path into a variable it so for ex. $D ="$ {P}:\office\setup.exe" it says /configure is wrong cannot user start …
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 …
about_Environment_Provider - PowerShell | Microsoft Learn
Sep 29, 2025 · You can also change the value of an environment variable using the $Env: variable prefix. Any changes made only pertain to the current PowerShell session for as long as it is active.