Photography

How Scopes Affect PowerShell Scripts


In batch scripts, changes to environment variables have a global impact to the current session by default. For PowerShell, the exact opposite is true because scopes are used to isolate a script’s modifications. Here, we’ll explore how scopes affect PowerShell scripts and how to work in and around them.


Click Here to Continue Reading





by Jacob Zinicola via How-To Geek
How Scopes Affect PowerShell Scripts How Scopes Affect PowerShell Scripts Reviewed by Ossama Hashim on November 26, 2014 Rating: 5

No comments:

Powered by Blogger.