Enable-MbamReport

Enables the Reports feature on the local server.

Syntax

Enable-MbamReport
      [-ComplianceAndAuditDBConnectionString <String>]
      -ComplianceAndAuditDBCredential <PSCredential>
      [-Confirm]
      -ReportsReadOnlyAccessGroup <String>
      [-SkipValidation]
      [-SsrsInstance <String>]
      [-WhatIf]
      [<CommonParameters>]

Description

The Enable-MbamReport cmdlet enables the Microsoft BitLocker Administration and Monitoring (MBAM) Reports feature on a local Microsoft SQL Server Reporting Services instance.

Examples

Example 1: Enable the Reports feature

PS C:\> Enable-MbamReport -ComplianceAndAuditDBConnectionString "Integrated Security=SSPI;Data Source=ContosoDatabaseServer;Initial Catalog=MBAM Compliance Status" -ComplianceAndAuditDBCredential (Get-Credential) -ReportsReadOnlyAccessGroup "Contoso\ReportsGroup"

This command enables the Reports feature on the local server. The feature uses the Compliance and Audit Database on ContosoDatabaseServer. The command prompts you to enter credentials to access the Compliance and Audit Database. The reports group is Contoso\ReportsGroup. The command installs reports on the default SQL Server Reporting Services instance.

Required Parameters

-ComplianceAndAuditDBCredential

Specifies the domain account credentials that the local SQL Server Reporting Services instance uses to connect to the Compliance and Audit Database. The domain user in the credentials must be the same as the user that you specify for the ReportAccount parameter in the Enable-MbamDatabase cmdlet. If you specified a domain user group for the ReportAccount parameter, the credentials that you specify for the current parameter must be a member of that group.

Important: For improved security, use an account that has limited privileges. Also, configure the account so that the password never expires.

Type:PSCredential
Aliases:ComplianceDBCred
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName, ByValue)
Accept wildcard characters:False
-ReportsReadOnlyAccessGroup

Specifies a domain user group. Specify a group that has read permission for the reports.

Type:String
Aliases:ReportsGroup
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Optional Parameters

-ComplianceAndAuditDBConnectionString

Specifies a connection string. The local SQL Server Reporting Services uses the string that this parameter specifies to connect to the Compliance and Audit Database feature. The connection string must contain values for the Integrated Security and Initial Catalog fields.

Type:String
Aliases:ComplianceDB
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SkipValidation

Indicates that this cmdlet bypasses validation of parameter values. If you specify this parameter, the feature may not function properly after you enable it.

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

Specifies the SQL Server Reporting Services instance. After installation, this instance hosts the reports. If you do not specify an instance, the cmdlet uses the default instance, MSSQLSERVER.

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

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