Skip to content

Commit 85a3adb

Browse files
matt9ucciSean Wheeler
authored and
Sean Wheeler
committed
Fix Trace-Command -ListenerOption parameter (MicrosoftDocs#1948)
* Fixed the value of "Accepted values:" * Fixed minor differences in formatting and wording
1 parent 4e99941 commit 85a3adb

File tree

4 files changed

+31
-9
lines changed

4 files changed

+31
-9
lines changed

reference/3.0/Microsoft.PowerShell.Utility/Trace-Command.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,16 +178,26 @@ Accept wildcard characters: False
178178
```
179179
180180
### -ListenerOption
181-
Adds optional data to the prefix of each trace message in the output.
182-
The valid values are None, LogicalOperationStack, DateTime, Timestamp, ProcessId, ThreadId, and Callstack.
183-
"None" is the default.
181+
Specifies optional data to the prefix of each trace message in the output.
182+
The acceptable values for this parameter are:
183+
184+
- None
185+
- LogicalOperationStack
186+
- DateTime
187+
- Timestamp
188+
- ProcessId
189+
- ThreadId
190+
- Callstack
191+
192+
None is the default.
184193
185194
To specify multiple options, separate them with commas, but with no spaces, and enclose them in quotation marks, such as "ProcessID,ThreadID".
186195
187196
```yaml
188197
Type: TraceOptions
189198
Parameter Sets: (All)
190199
Aliases:
200+
Accepted values: None, LogicalOperationStack, DateTime, Timestamp, ProcessId, ThreadId, Callstack
191201

192202
Required: False
193203
Position: Named

reference/4.0/Microsoft.PowerShell.Utility/Trace-Command.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,16 +183,26 @@ Accept wildcard characters: False
183183
```
184184
185185
### -ListenerOption
186-
Adds optional data to the prefix of each trace message in the output.
187-
The valid values are None, LogicalOperationStack, DateTime, Timestamp, ProcessId, ThreadId, and Callstack.
188-
"None" is the default.
186+
Specifies optional data to the prefix of each trace message in the output.
187+
The acceptable values for this parameter are:
188+
189+
- None
190+
- LogicalOperationStack
191+
- DateTime
192+
- Timestamp
193+
- ProcessId
194+
- ThreadId
195+
- Callstack
196+
197+
None is the default.
189198
190199
To specify multiple options, separate them with commas, but with no spaces, and enclose them in quotation marks, such as "ProcessID,ThreadID".
191200
192201
```yaml
193202
Type: TraceOptions
194203
Parameter Sets: (All)
195204
Aliases:
205+
Accepted values: None, LogicalOperationStack, DateTime, Timestamp, ProcessId, ThreadId, Callstack
196206

197207
Required: False
198208
Position: Named

reference/5.1/Microsoft.PowerShell.Utility/Trace-Command.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,8 @@ Accept wildcard characters: False
183183
```
184184
185185
### -ListenerOption
186-
Specifies optional data to the prefix of each trace message in the output.The acceptable values for this parameter are:
186+
Specifies optional data to the prefix of each trace message in the output.
187+
The acceptable values for this parameter are:
187188
188189
- None
189190
- LogicalOperationStack

reference/6/Microsoft.PowerShell.Utility/Trace-Command.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,8 @@ Accept wildcard characters: False
183183
```
184184
185185
### -ListenerOption
186-
Specifies optional data to the prefix of each trace message in the output.The acceptable values for this parameter are:
186+
Specifies optional data to the prefix of each trace message in the output.
187+
The acceptable values for this parameter are:
187188
188189
- None
189190
- LogicalOperationStack
@@ -201,7 +202,7 @@ To specify multiple options, separate them with commas, but with no spaces, and
201202
Type: TraceOptions
202203
Parameter Sets: (All)
203204
Aliases:
204-
Accepted values: None, Constructor, Dispose, Finalizer, Method, Property, Delegates, Events, Exception, Lock, Error, Errors, Warning, Verbose, WriteLine, Data, Scope, ExecutionFlow, Assert, All
205+
Accepted values: None, LogicalOperationStack, DateTime, Timestamp, ProcessId, ThreadId, Callstack
205206

206207
Required: False
207208
Position: Named

0 commit comments

Comments
 (0)