Gets a web site and its configuration settings.
Syntax
Parameter Set: Default
Get-WebSitesSite [[-Name] <String> ] [[-SubscriptionId]
<String> ] [[-WebSpaceName] <String> ] [-HostName
<String> ] [-OwnerName <String> ] [-PipelineVariable
<String> ] [-RawView] [-VirtualFarmName <String> ]
[-VirtualFarmOwnerName <String> ] [-WorkerName <String>
] [ <CommonParameters>]
The Get-WebSitesSite cmdlet gets a web site and its configuration settings. By default, all sites are returned. To specify a specific site, use the Name parameter. Specifying the RawView parameter provides detailed information about the site.
Specifies a host name for the site.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
Specifies a name for the site.
Aliases |
none |
Required? |
false |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
Specifies the name of an owner.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
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 |
Indicates that detailed information about the site is provided.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
Specifies the ID of a subscription.
Aliases |
none |
Required? |
false |
Position? |
2 |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
Specifies the name of the virtual farm to which the site belongs.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
Specifies the owner of the virtual farm to which the site belongs.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
Specifies the web space to which the site belongs.
Aliases |
none |
Required? |
false |
Position? |
3 |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
Specifies the name of the worker that the site is on.
Aliases |
none |
Required? |
false |
Position? |
named |
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 site named Site01 and displays information about this site to the user.
PS C:\> Get-WebSitesSite -SiteName "Site01"
This command gets all sites with the subscription ID of Subscription01 and web space of WebSpace01, and displays information about the sites to the user.
PS C:\> Get-WebSitesSite -SubscriptionId "Subscription01" -WebSpaceName "WebSpace01"
This command gets all sites and displays detailed information about each site to the user.
PS C:\> Get-WebSitesSite -RawView