-
Notifications
You must be signed in to change notification settings - Fork 179
win_guest_debugging_tool: Support new feature cases #4232
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
base: master
Are you sure you want to change the base?
Conversation
df836f2
to
59abb7b
Compare
388a56a
to
70f9a43
Compare
70f9a43
to
3e2b3a3
Compare
1c73245
to
b707bb3
Compare
2561bf5
to
2e9ab75
Compare
win_guest_debugging_tool is a new feature for windows guest to gather a wide range of information. including system configuration event logs, drivers, registry settings, update logs, services, uptime, processes, installed applications,network configuration installed KBs (knowledge base articleand optionally, memory dumps It's a powershell script is designed for comprehensive system diagnostics. Signed-off-by: Dehan Meng <[email protected]>
2e9ab75
to
1c57003
Compare
@leidwang Please help to review when you have time, thanks |
shutdown_command = "shutdown -s -t 0" | ||
reboot_command = "shutdown -r -t 0" | ||
cmd_unrestrict_policy = 'powershell.exe Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope Process -Force' | ||
test_tmp_dir = "%TEMP%\testtmpdir" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
test_tmp_dir = "%TEMP%\testtmpdir" | |
test_tmp_dir = "${tmp_dir}\testtmpdir" |
) | ||
# Running the PowerShell script on the VM | ||
include_sensitive_data = bool(strtobool(self.params["include_sensitive_data"])) | ||
print(include_sensitive_data) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
error_context.context would be better
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In addition to this line, there are some calls to the print
function
win_guest_debugging_tool is a new feature for windows guest to
gather a wide range of information. including system configuration
event logs, drivers, registry settings, update logs, services,
uptime, processes, installed applications,network configuration
installed KBs (knowledge base articleand optionally, memory dumps
It's a powershell script is designed for comprehensive system diagnostics.
ID: 2792
Signed-off-by: Dehan Meng [email protected]