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. You can use the parameters of New-Variable to set the properties of the variable, set the scope of a variable, and determine whether variables are public or private.

Understanding the Context

Typically, you create a new variable by typing the variable ... When you create variables in your flows, Power Automate converts them to a specific type based on their content. Some of these data types are widely used throughout the application, such as numbers, while others, such as browser instances, require explicit actions or groups of actions.