New-WebGlobalModule

Creates a new IIS global module.

Syntax

New-WebGlobalModule
   [-Name] <String>
   [-Image <String>]
   [-Precondition <String>]
   [-Force]
   [<CommonParameters>]

Description

Creates a new IIS global module.

Examples

-------------- EXAMPLE 1: Adding a new module --------------

IIS:\>New-WebGlobalModule -Name testGlobalModule -Image c:\test\test.dll

Adds a new module to theglobalModuleslist.

Required Parameters

-Name

The name of the new module.

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

Optional Parameters

-Force

Forces the creation of the new module.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Image

The path to a DLL image (native modules only) for the new module.

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

Specifies any preconditions to be used for the new module.

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