Storefront Powershell SDK 2411

Set-STFWebReceiverClientPlugin

Sets the plug-ins definitions configured within the WebReceiver

Syntax

Set-STFWebReceiverClientPlugin [-WebReceiverService] <WebReceiverService> [-ClientPlugin] <ClientPlugin[]> [<CommonParameters>]
<!--NeedCopy-->

Detailed Description

The cmdlet sets the plug-ins definitions as configured within the specified WebReceiver.

Parameters

Name Description Required? Pipeline Input Default Value
WebReceiverService WebReceiver service to set the client plug-ins on true true (ByValue)  
ClientPlugin The client plug-ins to set true false  

Input Type

Citrix.StoreFront.Model.ReceiverForWeb.WebReceiverService

Parameter WebReceiverService: A .NET class representing the configuration of a StoreFront Web Receiver service

Citrix.StoreFront.Model.ReceiverForWeb.ClientPlugin[]

Parameter ClientPlugin: The .NET Citrix.StoreFront.Model.ReceiverForWeb.ClientPlugin reference type

Return Values

None

Examples

EXAMPLE 1 Set the WebReceiver ClientPlugins

$webReceiver = Get-STFWebReceiverService
$plugin = New-STFWebReceiverClientPlugin -Name "NetScaler" `
-Source "/plugins/netscaler/script1.js" `
-Scripts @("/plugins/netscaler/script2.js","/plugins/netscaler/script1.js") `
-Styles @("/plugins/netscaler/script2.css","/plugins/netscaler/script1.css") `
-Parameters @{"param1" = "value1";"param2" = "value2"}
Set-STFWebReceiverClientPlugins -WebReceiverService $webReceiver -ClientPlugin $plugin
<!--NeedCopy-->

REMARKS

Gets the configured WebReceiver and sets the NetScaler Client plug-in.

Set-STFWebReceiverClientPlugin