< Back

Invoke-CAppCmd

Sun Jan 12, 2020 10:41 pm

NAME Invoke-CAppCmd



SYNOPSIS

OBSOLETE. Will be removed in a future major version of Carbon. Use `Get-CIisConfigurationSection` with the

`Microsoft.Web.Administration` API instead.





SYNTAX

Invoke-CAppCmd [[-AppCmdArgs] <Object>] [<CommonParameters>]





DESCRIPTION

OBSOLETE. Will be removed in a future major version of Carbon. Use `Get-CIisConfigurationSection` with the

`Microsoft.Web.Administration` API instead.





PARAMETERS

-AppCmdArgs <Object>

The arguments to pass to appcmd.



Required? false

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-CIisConfigurationSection -SiteName 'Peanuts' -Section 'system.webServer'



Demonstrates the `Invoke-CAppCmd` is OBSOLETE and will be removed in a future major version of Carbon. Use

`Get-CIisConfigurationSection` with the `Microsoft.Web.Administration` API instead.











RELATED LINKS