Skip to content

Fix broken headers in Get-CimSession.md v6.0 #1981

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
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
10 changes: 5 additions & 5 deletions reference/6/CimCmdlets/Get-CimSession.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ For more information about wps_2 sessions, see about_CimSessions

## EXAMPLES

### -------------------------- EXAMPLExample 1: Get CIM sessions from the current wps_2 session. --------------------------xample: Get CIM sessions from the current wps_2 session.
### Example 1: Get CIM sessions from the current wps_2 session
```
By default, Get-CimSession only gets information about the CIM sessions that exist in the current wps_2 session. Get-CimSession does not get CIM sessions that were created in other wps_2 sessions or that were created on other computers.
PS C:\> New-CimSession -ComputerName Server01,Server02
Expand Down Expand Up @@ -84,7 +84,7 @@ Protocol : WSMAN

This command first creates CIM sessions by using New-CimSession, and then gets the CIM sessions by using Get-CimSession.

### -------------------------- EXAMPLE xample 2: Get the CIM sessions from a specific computer --------------------------xample : Get the CIM sessions from a specific computer
### Example 2: Get the CIM sessions from a specific computer
```
PS C:\>Get-CimSession -ComputerName Server02
Id : 2
Expand All @@ -104,14 +104,14 @@ Protocol : WSMAN

This command gets the CIM sessions that are connected to the computer named Server02.

### -------------------------- EXAMPLE xample 3: Get a list of CIM sessions and then format the list --------------------------xample : Get a list of CIM sessions and then format the list
### Example 3: Get a list of CIM sessions and then format the list
```
PS C:\>Get-CimSession | Format-Table -Property ComputerName,InstanceID
```

This command gets all of the CIM sessions in the current wps_2 session, and then formats the list in a table containing only the ComputerName and InstanceID parameters.

### -------------------------- EXAMPLExample 4: Get all the CIM sessions that have specific names --------------------------xample: Get all the CIM sessions that have specific names
### Example 4: Get all the CIM sessions that have specific names
```
PS C:\>Get-CimSession -ComputerName Serv*
Id : 1
Expand Down Expand Up @@ -145,7 +145,7 @@ Protocol : WSMAN

This command gets all of the CIM sessions that have names that begin with the characters serv.

### -------------------------- EXAMPLExample 5: Get a specific CIM session --------------------------xample: Get a specific CIM session
### Example 5: Get a specific CIM session
```
PS C:\>Get-CimSession -ID 2
```
Expand Down