Skip to content

Update Example 1 in Import-Counter.md #1980

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

Merged
merged 1 commit into from
Dec 22, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down