Is there a size limit here? I have over 150+ lines in the block and it errors out after a certain line no matter how I rearrange the script.
Any ideas?
A get-job | receive-job -keep produces the following after 100+ lines of the code process....
The background process reported an error with the following message: .+ CategoryInfo : OperationStopped: (localhost:String) [], PSRemotingTransportException+ FullyQualifiedErrorId : JobFailure+ PSComputerName : localhost
-DEMPC