About 2,310,000 results
Open links in new tab
  1. 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 …

  2. 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 …

  3. 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 …

  4. 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.

  5. Get Started with Variable Libraries - Microsoft Fabric

    Aug 25, 2025 · Learn how to manage Microsoft Fabric variable libraries to customize and share item configurations in a workspace.

  6. Casting and type conversions - C# | Microsoft Learn

    Feb 5, 2025 · Because C# is statically typed at compile time, after a variable is declared, it can't be declared again or assigned a value of another type unless that type is implicitly convertible …

  7. about_Parameters_Default_Values - PowerShell | Microsoft Learn

    Jan 2, 2025 · The $PSDefaultParameterValues preference variable lets you specify custom default parameter values for any cmdlet, advanced function, or script that uses the …

  8. 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 …

  9. 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 …

  10. struct (C++) | Microsoft Learn

    Aug 3, 2021 · You have the option of declaring variables when the structure type is defined by placing one or more comma-separated variable names between the closing brace and the …