Invoke-AppCmd

Invokes appcmd.exe, the IIS command line configuration utility.

Syntax

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

Description

Runs appcmd.exe, passing all the arguments that get passed to Invoke-AppCmd.

Parameters

Name Type Description Required? Pipeline Input Default Value
AppCmdArgs Object The arguments to pass to appcmd. false false

EXAMPLE 1

Invoke-AppCmd list site Peanuts

Runs appcmd.exe list site Peanuts, which will list the configuration for the Peanuts website.