Table of contents
TOC
Collapse the table of content
Expand the table of content

Disable-MbamWebApplication

jamiejdt|Last Updated: 3/8/2017
|
1 Contributor

SYNOPSIS

Disables a web application.

SYNTAX

ParameterSetAdministrationPortal

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

ParameterSetAgentService

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

ParameterSetSelfServicePortal

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
Parameter Sets: ParameterSetAdministrationPortal
Aliases: 

Required: True
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
Parameter Sets: ParameterSetAgentService
Aliases: 

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

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
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
Parameter Sets: (All)
Aliases: 

Required: False
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
Parameter Sets: ParameterSetSelfServicePortal
Aliases: 

Required: True
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
Parameter Sets: (All)
Aliases: wi

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

Enable-MbamWebApplication

Get-MbamWebApplication

Test-MbamWebApplication

© 2017 Microsoft