Skip to content

Latest commit

 

History

History
206 lines (157 loc) · 4.43 KB

File metadata and controls

206 lines (157 loc) · 4.43 KB
description external help file Module Name ms.date schema title
Invokes a report about data and operations in Configuration Manager.
AdminUI.PS.dll-Help.xml
ConfigurationManager
05/05/2019
2.0.0
Invoke-CMReport

Invoke-CMReport

SYNOPSIS

Invokes a report about data and operations in Configuration Manager.

SYNTAX

Invoke-CMReport [-OutputFormat <String>] [-PassThru] [-ReportParameter <Hashtable>] -ReportPath <String>
 [-SiteCode <String>] [-SrsServerName <String>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]
 [-Confirm] [<CommonParameters>]

DESCRIPTION

The Invoke-CMReport cmdlet invokes a Microsoft SQL Server Reporting Services report that displays information about data and operations in Configuration Manager. The reporting services point is a site system role that you install on a server that runs Microsoft SQL Server Reporting Services.

Note

Run Configuration Manager cmdlets from the Configuration Manager site drive, for example PS XYZ:\>. For more information, see getting started.

EXAMPLES

Example 1: Invoke a report

PS XYZ:\>Invoke-CMReport -ReportPath "/Reports/Data" -SiteCode "CM4"

This command invokes a report by using a report path and a site code.

PARAMETERS

-DisableWildcardHandling

This parameter treats wildcard characters as literal character values. You can't combine it with ForceWildcardHandling.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-ForceWildcardHandling

This parameter processes wildcard characters and may lead to unexpected behavior (not recommended). You can't combine it with DisableWildcardHandling.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-OutputFormat

Specifies an output format in Configuration Manager.

Type: String
Parameter Sets: (All)
Aliases:

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

-PassThru

Add this parameter to return an object that represents the item with which you're working. By default, this cmdlet may not generate any output.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-ReportParameter

Specifies report parameters as key-value pairs.

Type: Hashtable
Parameter Sets: (All)
Aliases:

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

-ReportPath

Specifies the path to a folder where reports are stored.

Type: String
Parameter Sets: (All)
Aliases:

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

-SiteCode

Specifies a site code in Configuration Manager.

Type: String
Parameter Sets: (All)
Aliases:

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

-SrsServerName

Specifies a name of a Microsoft SQL Server Reporting Services server.

Type: String
Parameter Sets: (All)
Aliases:

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

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

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

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet doesn't run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

System.Diagnostics.Process

NOTES

RELATED LINKS