Get-CMQueryResultMaximum

Gets the maximum number of rows that a Configuration Manager report query can return.

Syntax

Get-CMQueryResultMaximum
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [<CommonParameters>]

Description

The Get-CMQueryResultMaximum cmdlet gets the maximum number of rows that a Microsoft System Center Configuration Manager query can return. By default, queries in Configuration Manager return only a subset of the matching rows in the database. This cmdlet indicates the number of rows that Configuration Manager returns. To change the maximum number of rows that a Configuration Manager query returns, use the Set-CMQueryResultMaximum cmdlet. By default, the maximum number of rows is unbound, which is different from the behavior of the Configuration Manager console, and is also different from earlier releases of the Configuration Manager cmdlet library.

Examples

Example 1: Get the report query result maximum

PS C:\> Get-CMQueryResultMaximum

This command gets the maximum number of rows that a Configuration Manager report query can return.

Optional Parameters

-DisableWildcardHandling

Indicates that wildcard handling is disabled.

Type:SwitchParameter
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ForceWildcardHandling

Indicates that wildcard handling is enabled.

Type:SwitchParameter
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False