Set-Web Managed Module

Configures an IIS managed module.

Syntax

Set-WebManagedModule
   [-Name] <String>
   [-Type <String>]
   [-Precondition <String>]
   [-Location <String[]>]
   [[-PSPath] <String[]>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

The Set-WebManagedModule cmdlet configures an Internet Information Services (IIS) managed module.

Examples

Example 1: Change a property of a managed module

IIS:\> Set-WebManagedModule -Name "UrlMappingsModule" -Type "Test.Test"

This command changes the type of the module named UrlMappingsModule.

Required Parameters

-Name

Specifies the name of the managed module to configure.

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

Specifies the location on which to set the configuration.

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

Specifies an IIS configuration path to the module.

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

Specifies preconditions of the module.

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

Specifies the managed type of the module.

Type: String
Position: Named
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