Set-SPAppHostingQuotaConfiguration

{{Fill in the Synopsis}}

Syntax

Set-SPAppHostingQuotaConfiguration
   -AppHostingLicenseQuota <Double>
   -AppInstanceCountQuota <Double>
   [-AssignmentCollection <SPAssignmentCollection>]
   [-Confirm]
   [-WhatIf]
   -SiteSubscription <SPSiteSubscriptionPipeBind>
   [<CommonParameters>]

Description

{{Fill in the Description}}

Examples

----------------EXAMPLE 1----------

PS C:\> {{ Add example code here }}

{{ Add example description here }}

----------------EXAMPLE 2----------

C:\PS>Get-SPSiteSubscription | Set-SPAppHostingQuotaConfiguration -Identity $_ -AppInstanceCountQuota 50 -AppHostingLicenseQuota 25

This example sets hosting Quotas for all SiteSubscriptions in the farm with hosted apps limit as 50 and hosted apps licenses assigned as 25.

Required Parameters

-AppHostingLicenseQuota

{{Fill AppHostingLicenseQuota Description}}

Type:Double
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2013, SharePoint Server 2016
-AppInstanceCountQuota

{{Fill AppInstanceCountQuota Description}}

Type:Double
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2013, SharePoint Server 2016
-SiteSubscription

{{Fill SiteSubscription Description}}

Type:SPSiteSubscriptionPipeBind
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
Applies to:SharePoint Server 2013, SharePoint Server 2016

Optional Parameters

-AssignmentCollection

{{Fill AssignmentCollection Description}}

Type:SPAssignmentCollection
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
Applies to:SharePoint Server 2013, SharePoint Server 2016
-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2013, SharePoint Server 2016
-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2013, SharePoint Server 2016

Inputs

Microsoft.SharePoint.PowerShell.SPSiteSubscriptionPipeBind

Microsoft.SharePoint.PowerShell.SPAssignmentCollection

Outputs

System.Object