Enable-MbamDatabase

Mis à jour: août 2015

S'applique à: Microsoft BitLocker Administration and Monitoring 2.5, Microsoft BitLocker Administration and Monitoring 2.5 SP1

Enable-MbamDatabase

Enables the Compliance and Audit and Recovery databases.

Syntaxe

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

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




Description détaillée

The Enable-MbamDatabase cmdlet enables a Compliance and Audit or a Recovery Database.

Paramètres

-AccessAccount<String>

Specifies a domain user or group. This domain user or group has read and 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

Obligatoire ?

true

Position ?

named

Valeur par défaut

none

Accepter l’entrée de pipeline ?

True (ByPropertyName)

Accepter les caractères génériques ?

false

-ComplianceAndAudit

Indicates that the Compliance and Audit Database is enabled.


Alias

none

Obligatoire ?

true

Position ?

named

Valeur par défaut

none

Accepter l’entrée de pipeline ?

false

Accepter les caractères génériques ?

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

Obligatoire ?

true

Position ?

named

Valeur par défaut

none

Accepter l’entrée de pipeline ?

True (ByPropertyName)

Accepter les caractères génériques ?

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

Obligatoire ?

false

Position ?

named

Valeur par défaut

none

Accepter l’entrée de pipeline ?

false

Accepter les caractères génériques ?

false

-Recovery

Indicates that the Recovery Database is enabled.


Alias

none

Obligatoire ?

true

Position ?

named

Valeur par défaut

none

Accepter l’entrée de pipeline ?

false

Accepter les caractères génériques ?

false

-ReportAccount<String>

Specifies a domain user or group. This domain user or group has read-only permission to this database, which enables reports to access the compliance and audit data. If the value is a domain user, the ComplianceAndAuditDBCredential parameter in the Enable-MbamReport cmdlet must use the same user account. If the value is a domain user group, the domain account used by the ComplianceAndAuditDBCredential parameter must be a member of this group.


Alias

none

Obligatoire ?

true

Position ?

named

Valeur par défaut

none

Accepter l’entrée de pipeline ?

True (ByPropertyName)

Accepter les caractères génériques ?

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.


Alias

none

Obligatoire ?

false

Position ?

named

Valeur par défaut

none

Accepter l’entrée de pipeline ?

false

Accepter les caractères génériques ?

false

<CommonParameters>

Cette applet de commande prend en charge les paramètres courants : -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer et -OutVariable. Pour plus d’informations, consultez about_CommonParameters (http://go.microsoft.com/fwlink/p/?LinkID=113216).

Entrées

Le type d’entrée correspond au type des objets que vous pouvez transmettre à l’applet de commande.

Sorties

Le type de sortie est le type des objets émis par l’applet de commande.

Exemples

Example 1: Enable the Compliance and Audit Database

This command enables the Compliance and Audit Database on MyDatabaseServer. The name of the database is MyComplianceDatabaseName. The domain account MyAccessAccount has read and write permission to the database, and MyReportAccount has read-only permission to the database for reporting purposes. The current Windows account credentials are used for authentication.


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

Example 2: Enable the Recovery Database

This command enables 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:\> Enable-MbamDatabase -Recovery -ConnectionString "Integrated Security=SSPI;Data Source=MyDatabaseServer" -AccessAccount "MyDomain\MyAccessAccount" -DatabaseName "MyRecoveryDatabaseName"

Rubriques connexes

Ajouts de la communauté

AJOUTER
Afficher: