Gets a configuration.
Syntax
Parameter Set: Default
Get-WebSitesConfig [-Type] {AppHostConfig | ConfigFile |
DefaultAppHostConfig | RootWebConfig | DefaultRootWebConfig |
RestAdmin | Global | Credential | Metering | Security | SecurityKey
| CentralCertificate} [-PipelineVariable <String> ] [
<CommonParameters>]
The Get-WebSitesConfig cmdlet gets the configuration for the specified type.
Specifies a variable to be used with the pipeline operator.
Aliases |
pv |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
Specifies the type of configuration. Valid values are:
-- AppHostConfig
-- ConfigFile
-- DefaultAppHostConfig
-- RootWebConfig
-- DefaultRootWebConfig
-- RestAdmin
-- Global
-- Credential
-- Metering
-- Security
-- SecurityKey
-- CredentialCertificate
The acceptable values for this parameter are:
AppHostConfig |
|
ConfigFile |
|
DefaultAppHostConfig |
|
RootWebConfig |
|
DefaultRootWebConfig |
|
RestAdmin |
|
Global |
|
Credential |
|
Metering |
|
Security |
|
SecurityKey |
|
CentralCertificate |
|
Aliases |
none |
Required? |
true |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.
This command gets the AppHostConfig configuration type for Site01.
PS C:\> Get-WebSitesConfig -Type AppHostConfig -SiteName "Site01"