Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashing IDE / Powerhell console all the time #30

Closed
avishnyakov opened this issue May 11, 2016 · 2 comments
Closed

Crashing IDE / Powerhell console all the time #30

avishnyakov opened this issue May 11, 2016 · 2 comments

Comments

@avishnyakov
Copy link

Hey guys, started using this script and hitting crashes most of the time.

Here is an example of Event log with EventID 1001. Same with PS ISE.
Any clue?

Fault bucket , type 0
Event Name: PowerShell
Response: Not available
Cab Id: 0

Problem signature:
P1: powershell.exe
P2: 10.0.10586.122
P3: System.IO.FileLoadException
P4: System.IO.FileLoadException
P5: unknown
P6: Microsoft.WSMan.Management.IGroupPolicyObject.Save
P7: unknown
P8: 
P9: 
P10: 
@RamblingCookieMonster
Copy link
Owner

Hi!

I recall running into a number of strange issues when attempting to speed up some group policy queries at $lastjob. I suspect the grouppolicy module might be doing something ugly under the hood, but never verified with procmon. Or, it could just be something sloppy on my end : )

Have you tried another runspace abstraction like psparallel or poshrsjob? Might be worth seeing if similar issues come up using those tools.

Cheers!

@avishnyakov
Copy link
Author

Yea, I see. I found a particular bit which got the run crashed. Does not seem to have anything to do with the Invoke-Parallel, of course.

And we don't use group policies things, just setting up directly the registry. Hm.. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants