Set-Web
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
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
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 |
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 |
Specifies an IIS configuration path to the module.
| Type: | String[] |
| Position: | 1 |
| Default value: | None |
| Accept pipeline input: | True (ByPropertyName) |
| Accept wildcard characters: | False |
Specifies preconditions of the module.
| Type: | String |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | True (ByPropertyName) |
| Accept wildcard characters: | False |
Specifies the managed type of the module.
| Type: | String |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | True (ByPropertyName) |
| Accept wildcard characters: | False |
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 |