Skip to content

Commit

Permalink
Fix bug wiht UseLocalScope
Browse files Browse the repository at this point in the history
  • Loading branch information
proxb committed Jan 31, 2018
1 parent 26e7af8 commit d0f2130
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions PoshRSJob/PoshRSJob.psd1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

#
# PoshRSJob
# Version 1.7.4.0
# Version 1.7.4.1
#
# Boe Prox (c) 2014
# http://learn-powershell.net
Expand All @@ -14,7 +14,7 @@
ModuleToProcess = 'PoshRSJob.psm1'

# Version number of this module.
ModuleVersion = '1.7.4.0'
ModuleVersion = '1.7.4.1'

# ID used to uniquely identify this module
GUID = '9b17fb0f-e939-4a5c-b194-3f2247452972'
Expand Down
2 changes: 1 addition & 1 deletion PoshRSJob/Public/Start-RSJob.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ Function Start-RSJob {
}
ForEach ($Item in $List) {
$ID = Increment
$PowerShell = [powershell]::Create().AddScript($NewScriptBlock)
$PowerShell = [powershell]::Create().AddScript($NewScriptBlock, $True)
$PowerShell.RunspacePool = $RSPObject.RunspacePool

if ($RealPipeline) {
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PoshRSJob 1.7.4.0
PoshRSJob 1.7.4.1

[![Build status](https://ci.appveyor.com/api/projects/status/svrd4ho4otugki24?svg=true)](https://ci.appveyor.com/project/proxb/poshrsjob) [![Join the chat at https://gitter.im/proxb/PoshRSJob](https://badges.gitter.im/proxb/PoshRSJob.svg)](https://gitter.im/proxb/PoshRSJob?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

Expand Down

0 comments on commit d0f2130

Please sign in to comment.