About 1,020,000 results
Open links in new tab
  1. How to use PowerShell Variables - LazyAdmin

    Jan 16, 2024 · Variables in PowerShell are used to store values, data, or other information you need later in your script. They can also used to capture the results of a cmdlet. But how do you …

  2. about_Variables - PowerShell | Microsoft Learn

    Jan 2, 2025 · Describes how variables store values that can be used in PowerShell. You can store all types of values in PowerShell variables. For example, store the results of commands, …

  3. In Powershell, how to set variable values within a function and …

    What is the proper way to do this? I want to set these values within this function and have those values available later on in the script, in the parent scope. The variables are created in your …

  4. PowerShell Variables Tutorials - PowerShell FAQs

    In PowerShell, variables store data that can be used and manipulated throughout a script. In PowerShell, variable names begin with a dollar sign ($). Variable names are not case …

  5. PowerShell Create Variable: A Simple Guide

    To create a variable in PowerShell, you use the dollar sign ($) followed by the variable name, an equal sign, and then the value you want to assign. The general syntax is: $variableName = value

  6. Mastering PowerShell Variables: A Beginner Guide

    May 16, 2023 · Understanding Variable Scope in PowerShell. Variable scope in PowerShell determines the accessibility and lifetime of variables within scripts and functions. …

  7. PowerShell Variables Tutorial: A Beginner’s Guide - ATA Learning

    Nov 11, 2024 · Learn how to create, modify and manage variables efficiently for your automation scripts with practical examples and best practices.

  8. PowerShell Variables - ShellGeek

    Apr 8, 2023 · PowerShell variables are used to store, manipulate and share data in the scripts. Variables are essential components of PowerShell scripts and utilizing them properly in scripts …

  9. Creating Variables in PowerShell - TecAdmin

    Apr 26, 2025 · One fundamental concept that every PowerShell enthusiast must grasp is variable assignment. This comprehensive guide will delve deep into mastering variables and their …

  10. PowerShell Local Variables [With Examples]

    Aug 23, 2024 · PowerShell local variables are variables defined within a specific scope, such as a function or script block, and are only accessible within that context. This ensures modularity …

  11. Some results have been removed
Refresh