powershellscripts.com

Tutorials  PowerShell Cmdlet Help for New-WebManagedModule



NAME
New-WebManagedModule

SYNOPSIS
Adds a new managed module to the IIS request pipeline.

SYNTAX
New-WebManagedModule [-Name] [-Type ] [-Precondition ] [-Force] [-Location ] [[-
PSPath] ] [-WarningAction ] [-WarningVariable ] []


DESCRIPTION
Adds a new managed module to the IIS request pipeline.


PARAMETERS
-Name
The name of the new managed module.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-Type
The .NET Framework Type of the new managed module.

Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-Precondition
Specifies any precondition(s) of the new managed module.

Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-Force
Forces the new module to be added.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-Location
The location for which the new handler applies.

Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-PSPath
An IIS configuration path.

Required? false
Position? 2
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-WarningAction


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-WarningVariable


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false


This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS



OUTPUTS



NOTES




-------------- EXAMPLE 1: Add a new managed module to the Default Web Site --------------

C:\PS>New-WebManagedModule -Name ContosoModule -Type Contoso.MyModule


The example demonstrates how to add a new module named "ContosoModule" to the Default Web Site.






RELATED LINKS