Enable-MbamWebApplication

Mis à jour: août 2015

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

Enable-MbamWebApplication

Enables a web application.

Syntaxe

Parameter Set: ParameterSetAdministrationPortal
Enable-MbamWebApplication -AdministrationPortal -AdvancedHelpdeskAccessGroup <String> -HelpdeskAccessGroup <String> -ReportsReadOnlyAccessGroup <String> -ReportUrl <Uri> [-Certificate <X509Certificate2> ] [-CMIntegrationMode] [-ComplianceAndAuditDBConnectionString <String> ] [-HostName <String> ] [-InstallationPath <String> ] [-Port <Int32> ] [-RecoveryDBConnectionString <String> ] [-SkipValidation] [-VirtualDirectory <String> ] [-WebServiceApplicationPoolCredential <PSCredential> ] [ <CommonParameters>]

Parameter Set: ParameterSetAgentService
Enable-MbamWebApplication -AgentService [-Certificate <X509Certificate2> ] [-CMIntegrationMode] [-ComplianceAndAuditDBConnectionString <String> ] [-DataMigrationAccessGroup <System.String> ] [-HostName <String> ] [-InstallationPath <String> ] [-Port <Int32> ] [-RecoveryDBConnectionString <String> ] [-SkipValidation] [-TpmLockoutAutoReset] [-WebServiceApplicationPoolCredential <PSCredential> ] [ <CommonParameters>]

Parameter Set: ParameterSetSelfServicePortal
Enable-MbamWebApplication -SelfServicePortal [-Certificate <X509Certificate2> ] [-CompanyName <System.String> ] [-ComplianceAndAuditDBConnectionString <String> ] [-HelpdeskUrl <System.Uri> ] [-HelpdeskUrlText <System.String> ] [-HostName <String> ] [-InstallationPath <String> ] [-NoticeTextPath <System.String> ] [-Port <Int32> ] [-RecoveryDBConnectionString <String> ] [-SkipValidation] [-VirtualDirectory <String> ] [-WebServiceApplicationPoolCredential <PSCredential> ] [ <CommonParameters>]




Description détaillée

The Enable-MbamWebApplication cmdlet enables a Microsoft BitLocker Administration and Monitoring (MBAM) web application on the local server. The cmdlet enables one of the following web applications:

-- Administration and Monitoring Website
-- Agent Services
-- Self-Service Portal

Paramètres

-AdministrationPortal

Indicates that this cmdlet acts on the Administration and Monitoring Website web application.


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

-AdvancedHelpdeskAccessGroup<String>

Specifies a domain user group. This group has permissions for all areas of the Administration and Monitoring Website web application, except for reports.


Alias

AdvancedHelpdeskGroup

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

-AgentService

Indicates that this cmdlet acts on the Agent Services web application.


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

-Certificate<X509Certificate2>

Specifies the certificate to use for encrypted web communications. If you do not specify a certificate, web communications are not encrypted.


Alias

none

Obligatoire ?

false

Position ?

named

Valeur par défaut

none

Accepter l’entrée de pipeline ?

True (ByValue, ByPropertyName)

Accepter les caractères génériques ?

false

-CMIntegrationMode

Indicates that all reports, except the Recovery Audit Report, are integrated into Microsoft System Center Configuration Manager. If you enable the System Center Configuration Manager Integration feature, specify this parameter.


Alias

CMMode

Obligatoire ?

false

Position ?

named

Valeur par défaut

none

Accepter l’entrée de pipeline ?

false

Accepter les caractères génériques ?

false

-CompanyName<System.String>

Specifies the company name associated with the web application.


Alias

none

Obligatoire ?

false

Position ?

named

Valeur par défaut

none

Accepter l’entrée de pipeline ?

true(ByPropertyName)

Accepter les caractères génériques ?

false

-ComplianceAndAuditDBConnectionString<String>

Specifies a connection string. The web application 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.

If you do not specify this parameter, the cmdlet uses the connection string that you previously specified for any enabled web application. All of the web applications connect to the Compliance and Audit Database by using the same connection string. If you specify connection strings more than once, web applications will use the most recent value.


Alias

ComplianceDB

Obligatoire ?

false

Position ?

named

Valeur par défaut

none

Accepter l’entrée de pipeline ?

True (ByPropertyName)

Accepter les caractères génériques ?

false

-DataMigrationAccessGroup<System.String>

Specifies the domain user group that is authorized to migrate Recovery information to MBAM server.


Alias

DataMigrationGroup

Obligatoire ?

false

Position ?

named

Valeur par défaut

none

Accepter l’entrée de pipeline ?

true(ByPropertyName)

Accepter les caractères génériques ?

false

-HelpdeskAccessGroup<String>

Specifies the domain user group that has permissions for the Manage TPM and Drive Recovery areas of the Administration and Monitoring Website web application.


Alias

HelpdeskGroup

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

-HelpdeskUrl<System.Uri>

Specifies the URL for the MBAM help desk site.


Alias

none

Obligatoire ?

false

Position ?

named

Valeur par défaut

none

Accepter l’entrée de pipeline ?

true(ByPropertyName)

Accepter les caractères génériques ?

false

-HelpdeskUrlText<System.String>

Specifies the helpdesk link text that will be displayed on the self-service portal.


Alias

none

Obligatoire ?

false

Position ?

named

Valeur par défaut

none

Accepter l’entrée de pipeline ?

true(ByPropertyName)

Accepter les caractères génériques ?

false

-HostName<String>

Specifies a host name. If you do not specify a host name, the cmdlet uses the fully qualified host name of the local computer. Ensure that you specify the same host name for all of the web applications.


Alias

none

Obligatoire ?

false

Position ?

named

Valeur par défaut

none

Accepter l’entrée de pipeline ?

True (ByPropertyName)

Accepter les caractères génériques ?

false

-InstallationPath<String>

Specifies the installation path of the web application. The installation process creates a folder named Microsoft BitLocker Management Solution in location that this parameter specifies. If you do not specify a path, the cmdlet uses <IIS inetpub path>. Specify the same installation path for all of the web applications.


Alias

none

Obligatoire ?

false

Position ?

named

Valeur par défaut

none

Accepter l’entrée de pipeline ?

True (ByPropertyName)

Accepter les caractères génériques ?

false

-NoticeTextPath<System.String>

Specifies the absolute path to the text file (.txt) that contains the notice text.


Alias

none

Obligatoire ?

false

Position ?

named

Valeur par défaut

none

Accepter l’entrée de pipeline ?

true(ByPropertyName)

Accepter les caractères génériques ?

false

-Port<Int32>

Specifies the web service port. If you do not specify a port, unencrypted communications use port 80, and encrypted communications use port 443. You need to specify the same value for all of the web applications.

You must configure your firewall to allow communication through the ports for the Self-Service Portal and the Administration and Monitoring Website web applications.


Alias

none

Obligatoire ?

false

Position ?

named

Valeur par défaut

none

Accepter l’entrée de pipeline ?

True (ByPropertyName)

Accepter les caractères génériques ?

false

-RecoveryDBConnectionString<String>

Specifies a connection string. The web application uses the string that this parameter specifies to connect to the Recovery Database. The connection string must contain values for the Integrated Security and Initial Catalog fields.

If you do not specify this parameter, the cmdlet uses the connection string that you previously specified for any enabled web application. All of the web applications connect to the Recovery Database by using the same connection string. If you specify connection strings more than once, web applications use the most recent value.


Alias

RecoveryDB

Obligatoire ?

false

Position ?

named

Valeur par défaut

none

Accepter l’entrée de pipeline ?

True (ByPropertyName)

Accepter les caractères génériques ?

false

-ReportsReadOnlyAccessGroup<String>

Specifies a domain user group. Specify a group that has read permissions for the Reports area of the Administration and Monitoring Website web application. The value for this parameter must be the same as the group that you specify for the ReportsReadOnlyAccessGroup parameter in the Enable-MbamReport cmdlet.


Alias

ReportsGroup

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

-ReportUrl<Uri>

Specifies the URL for the reports that the Microsoft SQL Server Reporting Services instance publishes.


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

-SelfServicePortal

Indicates that this cmdlet acts on the Self-Service Portal web application.


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

-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

-TpmLockoutAutoReset

Indicates that Agent Services allows TPM lockout resets.


Alias

none

Obligatoire ?

false

Position ?

named

Valeur par défaut

none

Accepter l’entrée de pipeline ?

true(ByPropertyName)

Accepter les caractères génériques ?

false

-VirtualDirectory<String>

Specifies a virtual directory for the web application. If you do not specify a virtual directory, the cmdlet uses the value HelpDesk for the Administration and Monitoring Website, or it uses the value self-service for the Self-Service Portal.


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

-WebServiceApplicationPoolCredential<PSCredential>

Specifies the domain user that the application pool for the web applications uses. If you specified a domain user group for the AccessAccount parameter when you ran the Enable-MbamDatabase cmdlet, the domain user that you specify for this parameter must be a member of that group.

If you do not specify this parameter, the cmdlet uses the credentials that you previously specified for any enabled web application. All of the web applications use the same application pool credentials. If you specify credentials for web applications more than once, web applications use the most recent value.

Important: For improved security, use an account that has limited user rights. Also, configure the account so that the password never expires. Verify that the account that you specify for this parameter is a built-in IIS_IUSRS account or has been added to the Impersonate a client after authentication and Log on as a batch job local security settings. To view the local security setting, open the Local Security Policy editor, expand the Local Policies node, click the User Rights Assignment node, and then double-click the Impersonate a client after authentication and Log on as a batch job policies in the right pane.


Alias

AppPoolCred

Obligatoire ?

false

Position ?

named

Valeur par défaut

none

Accepter l’entrée de pipeline ?

True (ByPropertyName)

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 Administration and Monitoring Website

This command enables the Administration and Monitoring Website web application on the current server. The portal uses the Compliance and Audit Database and the Recovery Database on ContosoDatabaseServer, and it uses the reports on ContosoReportsServer.


PS C:\> Enable-MbamWebApplication -AdministrationPortal -ComplianceAndAuditDBConnectionString "Integrated Security=SSPI;Data Source=ContosoDatabaseServer;Initial Catalog=MBAM Compliance Status" -RecoveryDBConnectionString "Integrated Security=SSPI;Data Source=ContosoDatabaseServer;Initial Catalog=MBAM Recovery and Hardware" -AdvancedHelpdeskAccessGroup "Contoso\AdvancedUserGroup" -HelpdeskAccessGroup "Contoso\StandardUserGroup" -ReportsReadOnlyAccessGroup "Contoso\ReportUserGroup" -ReportUrl "https://ContosoReportsServer/ReportServer" -Port 443 -WebServiceApplicationPoolCredential (Get-Credential) -Certificate (dir cert:\LocalComputer\My\E2A7EA5533890D6567E40DFC46F53B3D31D6B689)

Example 2: Enable Self-Service Portal

This command enables the Self-Service Portal web application on the current server. The Self-Service Portal uses the Compliance and Audit Database and the Recovery Database on ContosoDatabaseServer.


PS C:\> Enable-MbamWebApplication -SelfServicePortal -ComplianceAndAuditDBConnectionString "Integrated Security=SSPI;Data Source=ContosoDatabaseServer;Initial Catalog=MBAM Compliance Status" -RecoveryDBConnectionString "Integrated Security=SSPI;Data Source=ContosoDatabaseServer;Initial Catalog=MBAM Recovery and Hardware" -Port 443 -WebServiceApplicationPoolCredential (Get-Credential) -Certificate (dir cert:\LocalComputer\My\E2A7EA5533890D6567E40DFC46F53B3D31D6B689) 

Example 3: Enable Agent Services

This command enables the Agent Services feature on the current server. The services use the Compliance and Audit Database and the Recovery Database on ContosoDatabaseServer.


PS C:\> Enable-MbamWebApplication -AgentService -ComplianceAndAuditDBConnectionString "Integrated Security=SSPI;Data Source=ContosoDatabaseServer;Initial Catalog=MBAM Compliance Status" -RecoveryDBConnectionString "Integrated Security=SSPI;Data Source=ContosoDatabaseServer;Initial Catalog=MBAM Recovery and Hardware" -Port 443 -WebServiceApplicationPoolCredential (Get-Credential) -Certificate (dir cert:\LocalComputer\My\E2A7EA5533890D6567E40DFC46F53B3D31D6B689) 

Example 4: Enable Administration and Monitoring Website for a mirrored environment

This command enables the Administration and Monitoring Website web application, and it configures web applications to use a mirrored Microsoft SQL Server environment. The connection strings specify a failover partner.


PS C:\> Enable-MbamWebApplication -AdministrationPortal -ComplianceAndAuditDBConnectionString "Integrated Security=SSPI;Data Source=ContosoDatabaseServer;Failover Partner=ContosoMirror;Initial Catalog=MBAM Compliance Status" -RecoveryDBConnectionString "Integrated Security=SSPI;Data Source=ContosoDatabaseServer;Failover Partner=ContosoMirror;Initial Catalog=MBAM Recovery and Hardware" -AdvancedHelpdeskAccessGroup "Contoso\AdvancedUserGroup" -HelpdeskAccessGroup "Contoso\StandardUserGroup" -ReportsReadOnlyAccessGroup "Contoso\ReportUserGroup" -ReportUrl "https://ContosoReportsServer/ReportServer" -Port 443 -WebServiceApplicationPoolCredential (Get-Credential) -Certificate (dir cert:\LocalComputer\My\E2A7EA5533890D6567E40DFC46F53B3D31D6B689)

Example 5: Enable the Self-Service Portal for a mirrored environment

This command enables the Self-Service Portal on the current server, and it configures web applications to use a mirrored SQL Server environment. The connection strings specify a failover partner.


PS C:\> Enable-MbamWebApplication -SelfServicePortal -ComplianceAndAuditDBConnectionString "Integrated Security=SSPI;Data Source=ContosoDatabaseServer;Failover Partner=ContosoMirror;Initial Catalog=MBAM Compliance Status" -RecoveryDBConnectionString "Integrated Security=SSPI;Data Source=ContosoDatabaseServer;Failover Partner=ContosoMirror;Initial Catalog=MBAM Recovery and Hardware" -Port 443 -WebServiceApplicationPoolCredential (Get-Credential) -Certificate (dir cert:\LocalComputer\My\E2A7EA5533890D6567E40DFC46F53B3D31D6B689) 

Rubriques connexes

Ajouts de la communauté

AJOUTER
Afficher: