From 3ea27754d6dac6c6a7673caf2678d60b637f2671 Mon Sep 17 00:00:00 2001 From: Matt Gucci Date: Fri, 22 Dec 2017 17:39:41 +0900 Subject: [PATCH] Update Example 1 in Import-Counter.md --- .../3.0/Microsoft.PowerShell.Diagnostics/Import-Counter.md | 7 ++++--- .../4.0/Microsoft.PowerShell.Diagnostics/Import-Counter.md | 6 +++--- .../5.0/Microsoft.PowerShell.Diagnostics/Import-Counter.md | 4 ++-- .../5.1/Microsoft.PowerShell.Diagnostics/Import-Counter.md | 6 +++--- .../6/Microsoft.PowerShell.Diagnostics/Import-Counter.md | 6 +++--- 5 files changed, 15 insertions(+), 14 deletions(-) diff --git a/reference/3.0/Microsoft.PowerShell.Diagnostics/Import-Counter.md b/reference/3.0/Microsoft.PowerShell.Diagnostics/Import-Counter.md index 39d90e193f2..b097e100219 100644 --- a/reference/3.0/Microsoft.PowerShell.Diagnostics/Import-Counter.md +++ b/reference/3.0/Microsoft.PowerShell.Diagnostics/Import-Counter.md @@ -41,11 +41,12 @@ Along with Get-Counter and Export-Counter, this feature lets you collect, export ## EXAMPLES ### Example 1 +```powershell +$Data = Import-Counter -Path ProcessorData.csv ``` -PS C:\> $Data = Import-Counter -Path ProcessorData.csv -``` -This command imports all of the counter data from the ProcessorData.csv file into the $Data variable. +This command imports all counter data from the ProcessorData.csv file into the $Data variable. + ### Example 2 ``` PS C:\> $i = Import-Counter -Path ProcessorData.blg -Counter "\\SERVER01\Processor(_Total)\Interrupts/sec" diff --git a/reference/4.0/Microsoft.PowerShell.Diagnostics/Import-Counter.md b/reference/4.0/Microsoft.PowerShell.Diagnostics/Import-Counter.md index 8c01170b580..872e3ed2680 100644 --- a/reference/4.0/Microsoft.PowerShell.Diagnostics/Import-Counter.md +++ b/reference/4.0/Microsoft.PowerShell.Diagnostics/Import-Counter.md @@ -44,11 +44,11 @@ Along with Get-Counter and Export-Counter, this feature lets you collect, export ## EXAMPLES ### Example 1 -``` -PS C:\> $Data = Import-Counter -Path ProcessorData.csv +```powershell +$Data = Import-Counter -Path ProcessorData.csv ``` -This command imports all of the counter data from the ProcessorData.csv file into the $Data variable. +This command imports all counter data from the ProcessorData.csv file into the $Data variable. ### Example 2 ``` diff --git a/reference/5.0/Microsoft.PowerShell.Diagnostics/Import-Counter.md b/reference/5.0/Microsoft.PowerShell.Diagnostics/Import-Counter.md index 4d431bfe87d..d18d0b3c71b 100644 --- a/reference/5.0/Microsoft.PowerShell.Diagnostics/Import-Counter.md +++ b/reference/5.0/Microsoft.PowerShell.Diagnostics/Import-Counter.md @@ -44,8 +44,8 @@ Along with the Get-Counter and Export-Counter cmdlets, this feature lets you col ## EXAMPLES ### Example 1: Import all counter data from a file -``` -PS C:\> $Data = Import-Counter -Path ProcessorData.csv +```powershell +$Data = Import-Counter -Path ProcessorData.csv ``` This command imports all counter data from the ProcessorData.csv file into the $Data variable. diff --git a/reference/5.1/Microsoft.PowerShell.Diagnostics/Import-Counter.md b/reference/5.1/Microsoft.PowerShell.Diagnostics/Import-Counter.md index 6001182cf4f..484d70c16ef 100644 --- a/reference/5.1/Microsoft.PowerShell.Diagnostics/Import-Counter.md +++ b/reference/5.1/Microsoft.PowerShell.Diagnostics/Import-Counter.md @@ -43,9 +43,9 @@ Along with the Get-Counter and Export-Counter cmdlets, this feature lets you col ## EXAMPLES -### -------------------------- EXAMPLE xample 1: Import all counter data from a file --------------------------xample : Import all counter data from a file -``` -PS C:\> $Data = Import-Counter -Path ProcessorData.csv +### Example 1: Import all counter data from a file +```powershell +$Data = Import-Counter -Path ProcessorData.csv ``` This command imports all counter data from the ProcessorData.csv file into the $Data variable. diff --git a/reference/6/Microsoft.PowerShell.Diagnostics/Import-Counter.md b/reference/6/Microsoft.PowerShell.Diagnostics/Import-Counter.md index bfbd861f730..02a80bca1c0 100644 --- a/reference/6/Microsoft.PowerShell.Diagnostics/Import-Counter.md +++ b/reference/6/Microsoft.PowerShell.Diagnostics/Import-Counter.md @@ -43,9 +43,9 @@ Along with the Get-Counter and Export-Counter cmdlets, this feature lets you col ## EXAMPLES -### -------------------------- EXAMPLE xample 1: Import all counter data from a file --------------------------xample : Import all counter data from a file -``` -PS C:\> $Data = Import-Counter -Path ProcessorData.csv +### Example 1: Import all counter data from a file +```powershell +$Data = Import-Counter -Path ProcessorData.csv ``` This command imports all counter data from the ProcessorData.csv file into the $Data variable.