powershellscripts.com

Tutorials  PowerShell Cmdlet Help for Disable-WebGlobalModule



NAME
Disable-WebGlobalModule

SYNOPSIS
Disables an IIS module.

SYNTAX
Disable-WebGlobalModule [-Name] [-Location ] [[-PSPath] ] [-WarningAction rence>] [-WarningVariable ] [-WhatIf] [-Confirm] []


DESCRIPTION
Disables an IIS module.


PARAMETERS
-Name
The name of the module to disable.

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

-Location
The location in which to write the configuration.

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

-WhatIf
Describes what would happen if you executed the command without actually executing the command.

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

-Confirm
Prompts you for confirmation before executing the command.

Required? false
Position? named
Default value
Accept pipeline input? false
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: Disabling a module --------------

C:\PS>Disable-WebGlobalModule -Name FastCgiModule -PSPath 'IIS:\sites\Default Web Site'


Disables the FastCGI module for the Default Web Site.






RELATED LINKS
Enable-WebGlobalModule