Get-WebSitesOwnerCertificate

Get-WebSitesOwnerCertificate

Gets the certificates for an owner.

Syntax

Parameter Set: Default
Get-WebSitesOwnerCertificate [[-OwnerName] <String> ] [-ConnectionString <String> ] [-PipelineVariable <String> ] [ <CommonParameters>]


 

Detailed Description

The Get-WebSitesOwnerCertificate cmdlet gets the certificates for an owner.

If an owner is not explicitly created, the default owner name is created from the subscription name and web space name. For example, a subscription named "Subscription01" and web space named "DefaultWebSpace" are combined into "Subscription01+DefaultWebSpace".

Parameters

-ConnectionString<String>

Specifies a connecting string to a hosting database. If this parameter is not specified, the default instance of the hosting database is used.

 

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

 

-OwnerName<String>

Specifies the name of an owner.

 

Aliases

none

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

 

-PipelineVariable<String>

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

 

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.

Examples

Example 1: Get owner certificates

This command gets the certificates for the owner named Subscription01+DefaultWebSpace.

PS C:\> Get-WebSitesOwnerCertificates -OwnerName Subscription01+DefaultWebSpace