|
- 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 $null To get a list of all the variables in your PowerShell session, type Get-Variable
- 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
- Define variables - Azure Pipelines | Microsoft Learn
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 group to make variables available across multiple pipelines Use templates to define variables in one file that are used in multiple pipelines
- SET @local_variable (Transact-SQL) - SQL Server | Microsoft Learn
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 employees who work in the Marketing department
- Clear-Variable (Microsoft. PowerShell. Utility) - PowerShell
To delete a variable, along with its value, use Remove-Variable or Remove-Item This cmdlet does not delete the values of variables that are set as constants or owned by the system, even if you use the Force parameter
- Set-Variable (Microsoft. PowerShell. Utility) - PowerShell
The Set-Variable cmdlet assigns a value to a specified variable or changes the current value If the variable does not exist, the cmdlet creates it
- Get-Variable (Microsoft. PowerShell. Utility) - PowerShell
The Get-Variable cmdlet gets the PowerShell variables in the current console You can retrieve just the values of the variables by specifying the ValueOnly parameter, and you can filter the variables returned by name
- Condition Variables - Win32 apps | Microsoft Learn
It is often convenient to use more than one condition variable with the same lock For example, an implementation of a reader writer lock might use a single critical section but separate condition variables for readers and writers
|
|
|