About 50 results
Open links in new tab
  1. 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 …

  2. How to: Create a New Variable - Visual Basic | Microsoft Learn

    Sep 15, 2021 · How to: Create a New Variable (Visual Basic) You create a variable with a Dim Statement.

  3. Environment Variables - Win32 apps | Microsoft Learn

    Jul 14, 2025 · The GetEnvironmentVariable function determines whether a specified variable is defined in the environment of the calling process, and, if so, what its value is.

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

  5. about_PSItem - PowerShell | Microsoft Learn

    $PSItem was added to PowerShell in an attempt to provide a clearer meaning to the variable name. However, in practice, the dollar sign underscore form $_ is most commonly used.

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

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

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

  9. Object variable or With block variable not set - Visual Basic

    Sep 15, 2021 · Make sure you aren't referring to an object variable that has been set to Nothing. Search your code for the keyword Nothing, and revise your code so that the object isn't set to …

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