Disable-MbamWebApplication

Disables a web application.

Syntax

Disable-MbamWebApplication
       [-Force]
       [-AdministrationPortal]
       [-WhatIf]
       [-Confirm]
       [<CommonParameters>]
Disable-MbamWebApplication
       [-Force]
       [-AgentService]
       [-WhatIf]
       [-Confirm]
       [<CommonParameters>]
Disable-MbamWebApplication
       [-Force]
       [-SelfServicePortal]
       [-WhatIf]
       [-Confirm]
       [<CommonParameters>]

Description

The Disable-MbamWebApplication cmdlet disables a Microsoft BitLocker Administration and Monitoring (MBAM) web application. This cmdlet removes any website files that the Enable-MbamWebApplication cmdlet installed when you enabled the application.

Examples

Example 1: Disable Administration and Monitoring Website

PS C:\> Disable-MbamWebApplication -AdministrationPortal
Are you sure you want to perform this action?
Performing operation "Disable MBAM Web Application (AdministrationPortal) feature"
[Y] Yes  [N] No  [S] Suspend  [?] Help (default is "Y"):

This command disables the Administration and Monitoring Portal feature. The cmdlet prompts you to confirm the operation.

Example 2: Disable the Self-Service Portal

PS C:\> Disable-MbamWebApplication -SelfServicePortal -Force

This command disables the Self-Service Portal feature. The command specifies the Force parameter, and, therefore, the cmdlet does not prompt you to confirm the operation.

Example 3: Disable Agent Services

PS C:\> Disable-MbamWebApplication -AgentService
Are you sure you want to perform this action?
Performing operation "Disable MBAM Web Application (AgentService) feature"
[Y] Yes  [N] No  [S] Suspend  [?] Help (default is "Y"):

This command disables the Agent Services feature. The cmdlet prompts you to confirm the operation.

Parameters

-AdministrationPortal

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

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

-AgentService

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

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

-Confirm

Prompts you for confirmation before running the cmdlet.

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

-Force

Forces the command to run without asking for user confirmation.

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

-SelfServicePortal

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

Type:SwitchParameter
Position:Named
Default value:None
Required:True
Accept pipeline input:False
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
Required:False
Accept pipeline input:False
Accept wildcard characters:False