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

add syntax highlight on README #772

Merged
merged 1 commit into from Jun 20, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions hyperv-tools/HyperVLogs/readme.md
Expand Up @@ -7,7 +7,7 @@ Installing the module
---------------------
To download and install the module on your local system, you can use an administrative PowerShell:

```
```powershell
# Download the current module from GitHub

Invoke-WebRequest "https://github.com/MicrosoftDocs/Virtualization-Documentation/raw/live/hyperv-tools/HyperVLogs/HyperVLogs.psm1" -OutFile "HyperVLogs.psm1"
Expand All @@ -23,7 +23,7 @@ When you would like to analyze an issue with a virtual machine or debug the beha

To collect events from the broadest set of event channels, please run the following commands after importing the module:

```
```powershell
# Enable the Hyper-V related event channels and remember
# the start time to reduce number of events collected
Enable-EventChannels -HyperVChannels All
Expand All @@ -32,10 +32,10 @@ $startTime = Get-Date

Then, reproduce the issue, and finally coalesce the events from the event channels into a single .evtx file:

```
```powershell
# Write the events that happened after start time to a single file
Save-EventChannels -HyperVChannels All -StartTime $startTime

# Diable analytical and operational event channels
Disable-EventChannels -HyperVChannels All
```
```