Skip to content

Commit d0f2130

Browse files
committed
Fix bug wiht UseLocalScope
1 parent 26e7af8 commit d0f2130

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

PoshRSJob/PoshRSJob.psd1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
#
33
# PoshRSJob
4-
# Version 1.7.4.0
4+
# Version 1.7.4.1
55
#
66
# Boe Prox (c) 2014
77
# http://learn-powershell.net
@@ -14,7 +14,7 @@
1414
ModuleToProcess = 'PoshRSJob.psm1'
1515

1616
# Version number of this module.
17-
ModuleVersion = '1.7.4.0'
17+
ModuleVersion = '1.7.4.1'
1818

1919
# ID used to uniquely identify this module
2020
GUID = '9b17fb0f-e939-4a5c-b194-3f2247452972'

PoshRSJob/Public/Start-RSJob.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ Function Start-RSJob {
544544
}
545545
ForEach ($Item in $List) {
546546
$ID = Increment
547-
$PowerShell = [powershell]::Create().AddScript($NewScriptBlock)
547+
$PowerShell = [powershell]::Create().AddScript($NewScriptBlock, $True)
548548
$PowerShell.RunspacePool = $RSPObject.RunspacePool
549549

550550
if ($RealPipeline) {

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
PoshRSJob 1.7.4.0
1+
PoshRSJob 1.7.4.1
22

33
[![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)
44

0 commit comments

Comments
 (0)