Remove-WebManagedModule

Removes a managed module from IIS.

Syntax

Remove-WebManagedModule
      [-Name] <String>
      [-Location <String[]>]
      [[-PSPath] <String[]>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

Removes a managed module from IIS.

Examples

-------------- EXAMPLE 1: Remove a module --------------

IIS:\>Remove-WebManagedModule -Name testModule -PSPath "IIS:\sites\Default Web Site"

Removes the module named "testModule" from the Default Web Site.

Required Parameters

-Name

The name of the managed module to remove.

Type:String
Position:0
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Optional Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False
-Location

The configuration location from which the module is removed.

Type:String[]
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-PSPath

An IIS configuration path to the location.

Type:String[]
Position:1
Default value:None
Accept pipeline input:True (ByPropertyName)
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:False
Accept pipeline input:False
Accept wildcard characters:False