Skip to content

Latest commit

 

History

History
116 lines (84 loc) · 2.55 KB

File metadata and controls

116 lines (84 loc) · 2.55 KB
description external help file Module Name ms.date online version schema title
Use this topic to help manage Windows and Windows Server technologies with Windows PowerShell.
Microsoft.IIS.PowerShell.Provider.dll-Help.xml
WebAdministration
12/27/2016
2.0.0
New-WebGlobalModule

New-WebGlobalModule

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

RELATED LINKS

Disable-WebGlobalModule

Enable-WebGlobalModule

Get-WebGlobalModule

Remove-WebGlobalModule

Set-WebGlobalModule