File tree Expand file tree Collapse file tree 6 files changed +24
-0
lines changed
3.0/Microsoft.PowerShell.Utility
4.0/Microsoft.PowerShell.Utility
5.0/Microsoft.PowerShell.Utility
5.1/Microsoft.PowerShell.Utility
6/Microsoft.PowerShell.Utility
7/Microsoft.PowerShell.Utility Expand file tree Collapse file tree 6 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -104,6 +104,10 @@ TotalSeconds : 0.0122672
104
104
TotalMilliseconds : 12.2672
105
105
```
106
106
107
+ ### Example 4: Displaying output of measured command
108
+
109
+ To display output of expression in ` Measure-Command ` you can use a pipe to ` Out-Default ` .
110
+
107
111
``` powershell
108
112
# Perform the same operation as above adding Out-Default to every execution.
109
113
# This will show that the ScriptBlock is in fact executing for every item.
Original file line number Diff line number Diff line change @@ -104,6 +104,10 @@ TotalSeconds : 0.0122672
104
104
TotalMilliseconds : 12.2672
105
105
```
106
106
107
+ ### Example 4: Displaying output of measured command
108
+
109
+ To display output of expression in ` Measure-Command ` you can use a pipe to ` Out-Default ` .
110
+
107
111
``` powershell
108
112
# Perform the same operation as above adding Out-Default to every execution.
109
113
# This will show that the ScriptBlock is in fact executing for every item.
Original file line number Diff line number Diff line change @@ -104,6 +104,10 @@ TotalSeconds : 0.0122672
104
104
TotalMilliseconds : 12.2672
105
105
```
106
106
107
+ ### Example 4: Displaying output of measured command
108
+
109
+ To display output of expression in ` Measure-Command ` you can use a pipe to ` Out-Default ` .
110
+
107
111
``` powershell
108
112
# Perform the same operation as above adding Out-Default to every execution.
109
113
# This will show that the ScriptBlock is in fact executing for every item.
Original file line number Diff line number Diff line change @@ -104,6 +104,10 @@ TotalSeconds : 0.0122672
104
104
TotalMilliseconds : 12.2672
105
105
```
106
106
107
+ ### Example 4: Displaying output of measured command
108
+
109
+ To display output of expression in ` Measure-Command ` you can use a pipe to ` Out-Default ` .
110
+
107
111
``` powershell
108
112
# Perform the same operation as above adding Out-Default to every execution.
109
113
# This will show that the ScriptBlock is in fact executing for every item.
Original file line number Diff line number Diff line change @@ -104,6 +104,10 @@ TotalSeconds : 0.0122672
104
104
TotalMilliseconds : 12.2672
105
105
```
106
106
107
+ ### Example 4: Displaying output of measured command
108
+
109
+ To display output of expression in ` Measure-Command ` you can use a pipe to ` Out-Default ` .
110
+
107
111
``` powershell
108
112
# Perform the same operation as above adding Out-Default to every execution.
109
113
# This will show that the ScriptBlock is in fact executing for every item.
Original file line number Diff line number Diff line change @@ -104,6 +104,10 @@ TotalSeconds : 0.0122672
104
104
TotalMilliseconds : 12.2672
105
105
```
106
106
107
+ ### Example 4: Displaying output of measured command
108
+
109
+ To display output of expression in ` Measure-Command ` you can use a pipe to ` Out-Default ` .
110
+
107
111
``` powershell
108
112
# Perform the same operation as above adding Out-Default to every execution.
109
113
# This will show that the ScriptBlock is in fact executing for every item.
You can’t perform that action at this time.
0 commit comments