SessionState.ps1
if (!$ExecutionContext.SessionState.Module) { [PoshCode.TerminalBlock]::GlobalSessionState = $ExecutionContext.SessionState } |
if (!$ExecutionContext.SessionState.Module) { [PoshCode.TerminalBlock]::GlobalSessionState = $ExecutionContext.SessionState } |