Proof of Concept Module for Module (Script) scope variables in PowerShell
Switch branches/tags
Nothing to show
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
License Create License Jun 30, 2016
ModuleVariablesPOC.psd1 Update ModuleVariablesPOC.psd1 Oct 17, 2018
ModuleVariablesPOC.psm1 Update ModuleVariablesPOC.psm1 Oct 17, 2018 Create Jun 30, 2016


This PowerShell module was built with the purpose of demonstrating how module scope (defined as script scope within the module) work. It's generally a best practice to not create/set Global variables within your modules and I wanted to make sure I fully understood the accessibility of script/module level variables.