Community-Blog icon indicating copy to clipboard operation
Community-Blog copied to clipboard

Why use Set-Variable Get-Variable?

Open chrishayescodes opened this issue 2 years ago • 1 comments

Summary of the new document or enhancement

Details of requested document:

  • Are you offering to write the post [Y/N]: N
  • Proposed title: Why use Set-Variable Get-Variable?
  • Links to related posts:
  • Description of the problem/scenario/question you want covered: interested in someone explaining the compelling reasons to use get and set - variable. why would someone WANT to use these commands, what are the scenarios where these commands make sense, when would it NOT be a good idea to use this approach. explain scoped variables like $global, $script, etc, explain how the set-variable/get-variable commands are similar and dissimilar to these scoped variables

chrishayescodes avatar Mar 03 '23 19:03 chrishayescodes

Good source material in this thread: https://twitter.com/AndrewPlaTech/status/1630191351315791873

sdwheeler avatar May 04 '23 15:05 sdwheeler