PowerShell Runspace synchronized hastable not updated in some time. Hashtable status is in progress while the script completed. Help to review

The below code is working but some time the hashtable state is in progress while the script completed. Kindly advice on the code and why it behave like that

enter image description here

enter code here

Read more here: https://stackoverflow.com/questions/64953683/powershell-runspace-synchronized-hastable-not-updated-in-some-time-hashtable-st

Content Attribution

This content was originally published by shaik abdul at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: