Updates a subscription.
Syntax
Parameter Set: Default
Set-WebSitesSubscription [-SubscriptionId] <String> [-Active
<Boolean> ] [-Name <String> ] [-PipelineVariable
<String> ] [-Quota {CpuTime | Memory | BytesReceived |
BytesSent | NumberOfInstances | NumberOfSites | WebsiteStorageSize
| CustomDomainSupport | WebSockets | ConcurrentAccessLimit |
Worker64BitsSupport | SslSupport | SiteCpuLimit | SiteMemory |
SiteMemoryWorkingSet | SiteIdleTimeout} ] [-Confirm] [-WhatIf] [
<CommonParameters>]
The Set-WebSitesSubscription cmdlet updates a web sites subscription.
Indicates whether the subscription is active.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
Specifies the name of a subscription.
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 |
Specifies a quota for the subscription.
-- CpuTime
-- Memory
-- BytesReceived
-- BytesSent
-- NumberOfInstances
-- NumberOfSites
-- WebsiteStorageSize
-- CustomDomainSupport
-- WebSockets
-- ConcurrentAccessLimit
-- Worker64BitsSupport
-- SslSupport
-- SiteCpuLimit
-- SiteMemory
-- SiteMemoryWorkingSet
-- SiteIdleTimeout
The acceptable values for this parameter are:
CpuTime |
|
Memory |
|
BytesReceived |
|
BytesSent |
|
NumberOfInstances |
|
NumberOfSites |
|
WebsiteStorageSize |
|
CustomDomainSupport |
|
WebSockets |
|
ConcurrentAccessLimit |
|
Worker64BitsSupport |
|
SslSupport |
|
SiteCpuLimit |
|
SiteMemory |
|
SiteMemoryWorkingSet |
|
SiteIdleTimeout |
|
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
Specifies an ID for a subscription.
Aliases |
none |
Required? |
true |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
Prompts you for confirmation before executing the command.
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
Describes what would happen if you executed the command without actually executing the command.
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
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 changes the value for Active to $False, which suspends Subscription01.
PS C:\> Set-WebSitesSubscription -SubscriptionId "Subscription01" -Active $False