Table of contents
TLS
TOC
Collapse the table of content
Expand the table of content

New-WebGlobalModule

Brian Lich|Last Updated: 4/3/2017

SYNOPSIS

Creates an IIS global module.

SYNTAX

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

DESCRIPTION

The New-WebGlobalModule cmdlet creates an Internet Information Services (IIS) global module.

EXAMPLES

Example 1: Add a new module

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

This command adds a new module to the global Modules list.

PARAMETERS

-Force

Forces the creation of the new module.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Image

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

Type: String
Parameter Sets: (All)
Aliases: 

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

-Name

Specifies the name of the new module.

Type: String
Parameter Sets: (All)
Aliases: 

Required: True
Position: 0
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
Parameter Sets: (All)
Aliases: 

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

Disable-WebGlobalModule

Enable-WebGlobalModule

Get-WebGlobalModule

Remove-WebGlobalModule

Set-WebGlobalModule

© 2017 Microsoft