New-Web
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.
Required Parameters
Specifies the name of the new module.
| Type: | String |
| Position: | 0 |
| Default value: | None |
| Accept pipeline input: | True (ByPropertyName) |
| Accept wildcard characters: | False |
Optional Parameters
Forces the creation of the new module.
| Type: | SwitchParameter |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Specifies the path to a DLL image file (native modules only) for the new module.
| Type: | String |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | True (ByPropertyName) |
| Accept wildcard characters: | False |
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 |