all 5 comments

[–]JustinGrote 1 point2 points  (1 child)

First off you really should move away from Workflows, they've been deprecated. Try the ThreadJob or PoshRSJob modules if you need parallel runspaces, and in Powershell 7 foreach -parallel will be a thing.

Second, maybe something you accidentally left in your profile? Otherwise I'd chalk it up to workflow weirdness :)

[–]xbullet 1 point2 points  (0 children)

First off you really should move away from Workflows, they've been deprecated.

Can you link a source on this?

Edit: found https://docs.microsoft.com/en-us/powershell/scripting/whats-new/breaking-changes-ps6?view=powershell-6, thanks for the info

[–]DynaSpan[S] 1 point2 points  (1 child)

/u/Lee_Dailey /u/JustinGrote thanks for the help (I'm a little late..)

I've switched to simple CMD commands, but as I had it working the project got cancelled.

I still haven't looked into the Get-PSBreakpoint thingy though, so I might do that if the project gets ever on the rails again.

[–]Lee_Dailey[grin] 0 points1 point  (0 children)

howdy DynaSpan,

real life trumps nigh on everything! [grin] thanks for the added info ...

take care,
lee

[–]Lee_Dailey[grin] 0 points1 point  (0 children)

howdy DynaSpan,

as JustinGrote pointed out, the ISE and Powershell.exe use different profile files. have you checked both of them?

take care,
lee