我如何使用Powershell进行用户转储 [英] How can i take a user dump using powershell

查看:112
本文介绍了我如何使用Powershell进行用户转储的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用Powershell接收用户对进程的转储我该怎么办?
我在Taskmanager中右键单击该过程

I want to take user dump of a process using powershell How can i do it? The same I get on rightclicking the process in Taskmanager

推荐答案

基于这篇文章来自Risksense。可以使用本机 comsvc​​s.dll Windows dll中的 MiniDump 函数。

Based on this article from Risksense. MiniDump function from native comsvcs.dll Windows dll could be used.

赞:

Powershell -c rundll32.exe C:\Windows\System32\comsvcs.dll, MiniDump {ID-of-the-process} $Env:TEMP\my_dump_file.bin full

这篇关于我如何使用Powershell进行用户转储的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆