Test-MbamDatabase

Aggiornamento: agosto 2015

Si applica a: Microsoft BitLocker Administration and Monitoring 2.5, Microsoft BitLocker Administration and Monitoring 2.5 SP1

Test-MbamDatabase

Checks server prerequisites and validates parameters for an MBAM database.

Sintassi

Parameter Set: ParameterSetCompliance
Test-MbamDatabase -AccessAccount <String> -ComplianceAndAudit -ConnectionString <String> -ReportAccount <String> [-DatabaseName <String> ] [-Detailed] [ <CommonParameters>]

Parameter Set: ParameterSetRecovery
Test-MbamDatabase -AccessAccount <String> -ConnectionString <String> -Recovery [-DatabaseName <String> ] [-Detailed] [ <CommonParameters>]




Descrizione dettagliata

The Test-MbamDatabase cmdlet checks the server prerequisites and validates the parameters for the Microsoft BitLocker Administration and Monitoring (MBAM) database feature.

Parametri

-AccessAccount<String>

Specifies a domain user or group. This domain user or group must have read/write permission to this database, which enables web applications to access the data and reports. If the value is a domain user, the WebServiceApplicationPoolCredential parameter in the Enable-MbamWebApplication cmdlet must use the same user account. If the value is a group, the domain account used by the WebServiceApplicationPoolCredential parameter must be a member of this group.


Alias

none

Obbligatorio?

true

Posizione?

named

Valore predefinito

none

Accetta input da pipeline?

True (ByPropertyName)

Accetta caratteri jolly?

false

-ComplianceAndAudit

Indicates that the cmdlet checks the server prerequisites and validates the parameter values for the Compliance and Audit Database.


Alias

none

Obbligatorio?

true

Posizione?

named

Valore predefinito

none

Accetta input da pipeline?

false

Accetta caratteri jolly?

false

-ConnectionString<String>

Specifies the connection string used to connect to the data store. The Integrated Security field must be in the connection string.


Alias

none

Obbligatorio?

true

Posizione?

named

Valore predefinito

none

Accetta input da pipeline?

True (ByPropertyName)

Accetta caratteri jolly?

false

-DatabaseName<String>

Specifies the name of the database. This parameter cannot contain leading or trailing spaces or non-printable characters. If you do not specify a name, the Compliance and Audit Database is given the name MBAM Compliance Status, and the Recovery Database is given the name MBAM Recovery and Hardware.


Alias

none

Obbligatorio?

false

Posizione?

named

Valore predefinito

none

Accetta input da pipeline?

false

Accetta caratteri jolly?

false

-Detailed

Indicates that the cmdlet displays detailed information about the prerequisite check and parameter validation failures.


Alias

none

Obbligatorio?

false

Posizione?

named

Valore predefinito

none

Accetta input da pipeline?

false

Accetta caratteri jolly?

false

-Recovery

Indicates that the cmdlet checks the server prerequisites and validates the parameter values for the Recovery Database.


Alias

none

Obbligatorio?

true

Posizione?

named

Valore predefinito

none

Accetta input da pipeline?

false

Accetta caratteri jolly?

false

-ReportAccount<String>

Specifies a domain user or group. This domain user or group must have read-only permission to this database, which enables reports to access the compliance and audit data. If the value is a domain user, then the Compliance and Audit Database domain account of the report feature must be the same as the user. If the value is a group, then the Compliance and Audit Database domain account of the report feature must be a member of this group.


Alias

none

Obbligatorio?

true

Posizione?

named

Valore predefinito

none

Accetta input da pipeline?

True (ByPropertyName)

Accetta caratteri jolly?

false

<CommonParameters>

Questo cmdlet supporta i parametri comuni: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer e -OutVariable. Per altre informazioni, vedere   about_CommonParameters (http://go.microsoft.com/fwlink/p/?LinkID=113216).

Input

Il tipo di input è il tipo degli oggetti che è possibile reindirizzare al cmdlet.

Output

Il tipo di output corrisponde al tipo di oggetti generati dal cmdlet.

  • bool

Esempi

Example 1: Check prerequisites and validate parameters for the Compliance and Audit Database

This command checks the prerequisites and validates the parameters to enable the Compliance and Audit Database on MyDatabaseServer. The name of the database is MyComplianceDatabaseName. The domain account MyAccessAccount has read/write permission to the database, and MyReportAccount has read-only permission to the database for reporting purposes. The command uses the current Windows account credentials for authentication.


PS C:\> Test-MbamDatabase -ComplianceAndAudit -ConnectionString "Integrated Security=SSPI;Data Source=MyDatabaseServer" -AccessAccount "MyDomain\MyAccessAccount" -ReportAccount "MyDomain\MyReportAccount" -DatabaseName "MyComplianceDatabaseName"

Example 2: Check prerequisites and validate parameters for the Recovery Database

This command checks the prerequisites and validates the parameters to enable the Recovery Database on MyRecoveryDatabaseServer. The name of the database is MyRecoveryDatabaseName. The domain account MyAccessAccount has read/write permission to the database. The command uses the current Windows account credentials for authentication.


PS C:\> Test-MbamDatabase -Recovery -ConnectionString "Integrated Security=SSPI;Data Source=MyDatabaseServer" -AccessAccount "MyDomain\MyAccessAccount" -DatabaseName "MyRecoveryDatabaseName"

Example 3: Check prerequisites and validate parameters with detailed output

This command checks the prerequisites and validates the parameters to enable the Compliance and Audit Database on MyDatabaseServer with detailed output.


PS C:\> Test-MbamDatabase -ComplianceAndAudit -ConnectionString "Integrated Security=SSPI;Data Source=MyDatabaseServer" -AccessAccount "MyDomain\MyAccessAccount" -ReportAccount "MyDomain\MyReportAccount" -DatabaseName "MyComplianceDatabaseName" -Detailed

Argomenti correlati

Aggiunte alla community

AGGIUNGI
Mostra: