powershellscripts.com

Tutorials  PowerShell Cmdlet Help for Enable-WebGlobalModule



NAME
Enable-WebGlobalModule

SYNOPSIS
Enables an IIS module.

SYNTAX
Enable-WebGlobalModule [-Name] [-Type ] [-Precondition ] [-Force] [-Location ] [
[-PSPath] ] [-WarningAction ] [-WarningVariable ] []

Enable-WebGlobalModule -InputObject [-Force] [-Location ] [[-PSPath] ] [-WarningActi
on ] [-WarningVariable ] []


DESCRIPTION
Enables an IIS module.


PARAMETERS
-Name
The name of the module to enable.

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

-Type
Specifies the managed type of the module.

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

-Precondition
Specifies a precondition for the module.

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

-Force
Forces the module to be enabled.

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

-Location
The location in which the module is enabled.

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

-PSPath
Specifies the configuration path. This can be either an IIS configuration path (e.g. machine/webroot/apphost) o
r the IIS module path (e.g. 'IIS:\sites\Default Web Site').

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

-InputObject


Required? true
Position? named
Default value
Accept pipeline input? true (ByValue)
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: Enabling a module for a site --------------

C:\PS>Enable-WebGlobalModule -Name UriCacheModule -PSPath 'IIS:\sites\Default Web Site'


Demonstrates how to enable the UriCacheModule for the Default Web Site.






RELATED LINKS
Disable-WebGlobuleModule