Get-SPBrowserCustomerExperienceImprovementProgram

返回浏览器客户体验改善计划的当前选择加入状态。

语法

Get-SPBrowserCustomerExperienceImprovementProgram
   [-Farm]
   [-AssignmentCollection <SPAssignmentCollection>]
   [<CommonParameters>]
Get-SPBrowserCustomerExperienceImprovementProgram
   -SiteSubscription <SPSiteSubscriptionPipeBind>
   [-AssignmentCollection <SPAssignmentCollection>]
   [<CommonParameters>]
Get-SPBrowserCustomerExperienceImprovementProgram
   -WebApplication <SPWebApplicationPipeBind>
   [-AssignmentCollection <SPAssignmentCollection>]
   [<CommonParameters>]

说明

此 cmdlet 包含多个参数集。 您可以只使用来自一个参数集的参数,也可以不合并来自不同参数集的参数。 若要详细了解如何使用参数集,请参阅 Cmdlet 参数集

Get-SPBrowserCustomerExperienceImprovementProgram cmdlet 可读取浏览器客户体验改善计划的当前选择加入状态。

有关适用于 SharePoint 产品的 Windows PowerShell 的权限和最新信息,请参阅 SharePoint Server cmdlet

示例

------------------示例 1-----------------------

Get-SPBrowserCustomerExperienceImprovementProgram -WebApplication https://WebAppexample1

此示例返回 Web 应用程序 WebAppexample1 的当前客户体验改善计划的选择加入状态。

------------------示例 2-----------------------

Get-SPSiteSubscription https://SiteSubscription1 | Get-SPBrowserCustomerExperienceImprovementProgram

下面的示例返回网站订阅 SiteSubscription1 的客户体验改善计划的选择加入状态。

参数

-Farm

指定由此 cmdlet 返回服务器场的选择加入状态。

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition

-SiteSubscription

返回指定网站订阅的选择加入状态。

键入的值必须是格式为 https://server_name 的有效 URL;格式为 12345678-90ab-cdef-1234-567890bcdefgh 的有效 GUID;网站订阅的有效名称(例如,SiteSubscription1);或有效 SiteSubscription 对象的实例。

Type:SPSiteSubscriptionPipeBind
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition

-WebApplication

返回指定 SharePoint Web 应用程序的选择加入状态。

键入的值必须是格式为 https://server_name 的有效 URL;格式为 12345678-90ab-cdef-1234-567890bcdefgh 的有效 GUID;SharePoint Web 应用程序的有效名称(例如,MyOfficeApp1);或有效 SPWebApplication 对象的实例。

Type:SPWebApplicationPipeBind
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition

-工作分配

Manages objects for the purpose of proper disposal. Use of objects, such as SPWeb or SPSite, can use large amounts of memory and use of these objects in Windows PowerShell scripts requires proper memory management. Using the SPAssignment object, you can assign objects to a variable and dispose of the objects after they are needed to free up memory. When SPWeb, SPSite, or SPSiteAdministration objects are used, the objects are automatically disposed of if an assignment collection or the Global parameter is not used.

When the Global parameter is used, all objects are contained in the global store. If objects are not immediately used, or disposed of by using the Stop-SPAssignment command, an out-of-memory scenario can occur.

Type:SPAssignmentCollection
Position:Named
Default value:None
Accept pipeline input:True
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition