diff --git a/reference/3.0/Microsoft.PowerShell.Utility/Measure-Command.md b/reference/3.0/Microsoft.PowerShell.Utility/Measure-Command.md index 7fb97dc4929d..3ab96c450ad7 100644 --- a/reference/3.0/Microsoft.PowerShell.Utility/Measure-Command.md +++ b/reference/3.0/Microsoft.PowerShell.Utility/Measure-Command.md @@ -16,7 +16,8 @@ Measures the time it takes to run script blocks and cmdlets. ## Syntax ```powershell -Measure-Command [-InputObject ] [-Expression] [] +Measure-Command [-Expression] [-InputObject ] + [] ``` ## Description @@ -89,7 +90,7 @@ Parameter Sets: (All) Aliases: Required: True -Position: 1 +Position: 0 Default value: None Accept pipeline input: False Accept wildcard characters: False diff --git a/reference/4.0/Microsoft.PowerShell.Utility/Measure-Command.md b/reference/4.0/Microsoft.PowerShell.Utility/Measure-Command.md index 995b91711ca1..809832524bcd 100644 --- a/reference/4.0/Microsoft.PowerShell.Utility/Measure-Command.md +++ b/reference/4.0/Microsoft.PowerShell.Utility/Measure-Command.md @@ -16,7 +16,8 @@ Measures the time it takes to run script blocks and cmdlets. ## Syntax ```powershell -Measure-Command [-InputObject ] [-Expression] [] +Measure-Command [-Expression] [-InputObject ] + [] ``` ## Description @@ -88,7 +89,7 @@ Parameter Sets: (All) Aliases: Required: True -Position: 1 +Position: 0 Default value: None Accept pipeline input: False Accept wildcard characters: False diff --git a/reference/5.0/Microsoft.PowerShell.Utility/Measure-Command.md b/reference/5.0/Microsoft.PowerShell.Utility/Measure-Command.md index 88740614d038..9a667d4009c6 100644 --- a/reference/5.0/Microsoft.PowerShell.Utility/Measure-Command.md +++ b/reference/5.0/Microsoft.PowerShell.Utility/Measure-Command.md @@ -16,7 +16,8 @@ Measures the time it takes to run script blocks and cmdlets. ## Syntax ```powershell -Measure-Command [-InputObject ] [-Expression] [] +Measure-Command [-Expression] [-InputObject ] + [] ``` ## Description diff --git a/reference/5.1/Microsoft.PowerShell.Utility/Measure-Command.md b/reference/5.1/Microsoft.PowerShell.Utility/Measure-Command.md index a836b43f3c8e..1bcef82b86aa 100644 --- a/reference/5.1/Microsoft.PowerShell.Utility/Measure-Command.md +++ b/reference/5.1/Microsoft.PowerShell.Utility/Measure-Command.md @@ -16,7 +16,8 @@ Measures the time it takes to run script blocks and cmdlets. ## Syntax ```powershell -Measure-Command [-InputObject ] [-Expression] [] +Measure-Command [-Expression] [-InputObject ] + [] ``` ## Description diff --git a/reference/6/Microsoft.PowerShell.Utility/Measure-Command.md b/reference/6/Microsoft.PowerShell.Utility/Measure-Command.md index e8c0898ec90d..a4aa595514c1 100644 --- a/reference/6/Microsoft.PowerShell.Utility/Measure-Command.md +++ b/reference/6/Microsoft.PowerShell.Utility/Measure-Command.md @@ -16,8 +16,8 @@ Measures the time it takes to run script blocks and cmdlets. ## Syntax ```powershell -Measure-Command [-InputObject ] [-Expression] [-InformationAction ] - [-InformationVariable ] [] +Measure-Command [-Expression] [-InputObject ] + [] ``` ## Description @@ -78,7 +78,7 @@ These commands show the value of using a provider-specific filter in Windows Pow ## Parameters -### `-Expression` +### -Expression Specifies the expression that is being timed. Enclose the expression in braces ({}). The parameter name ("**Expression**") is optional. @@ -89,34 +89,7 @@ Parameter Sets: (All) Aliases: Required: True -Position: 1 -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### `-InformationAction` -```yaml -Type: ActionPreference -Parameter Sets: (All) -Aliases: infa -Accepted values: SilentlyContinue, Stop, Continue, Inquire, Ignore, Suspend - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InformationVariable -```yaml -Type: String -Parameter Sets: (All) -Aliases: iv - -Required: False -Position: Named +Position: 0 Default value: None Accept pipeline input: False Accept wildcard characters: False