Disable-MbamWebApplication

Disables a web application.

Syntax

Disable-MbamWebApplication
       [-AdministrationPortal]
       [-Confirm]
       [-Force]
       [-WhatIf]
       [<CommonParameters>]
Disable-MbamWebApplication
       [-AgentService]
       [-Confirm]
       [-Force]
       [-WhatIf]
       [<CommonParameters>]
Disable-MbamWebApplication
       [-Confirm]
       [-Force]
       [-SelfServicePortal]
       [-WhatIf]
       [<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.

Required Parameters

-AdministrationPortal

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

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

Optional Parameters

-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
-Force

Forces the command to run without asking for user confirmation.

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