
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.
New-Variable (Microsoft.PowerShell.Utility) - PowerShell
The New-Variable cmdlet creates a new variable in PowerShell. You can assign a value to the variable while creating it or assign or change the value after it is created.
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.
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.
Blittable and Non-Blittable Types - .NET Framework
Nov 7, 2025 · However, a type that contains a variable array of blittable types is not itself blittable. Formatted value types that contain only blittable types (and classes if they're marshalled as …
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 …
Learn How to Use Variable Libraries - Microsoft Fabric
Dec 15, 2025 · Follow the steps for creating a variable library and using variable values in various stages of a deployment pipeline.
在 shell 中运行命令 - PowerShell | Microsoft Learn
PowerShell 是命令行 shell 和用于自动化的脚本语言。 与其他 shell 类似,例如 bash Linux 或 Windows 命令行界面(cmd.exe),PowerShell 允许你运行系统上可用的任何命令,而不仅仅是 PowerShell …