Storefront Powershell SDK 2411

Add-STFWebReceiverClientPlugin

Add a WebReceiver client plug-in

Syntax

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

Detailed Description

Add WebReceiver script and branding customizations.

Parameters

Name Description Required? Pipeline Input Default Value
WebReceiverService WebReceiver to which the plugin is to be added true true (ByValue)  
ClientPlugin The client plug-in to add 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 Add a client plugin

$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"}
Add-STFWebReceiverClientPlugin -WebReceiverService $webReceiver -ClientPlugin $plugin
<!--NeedCopy-->

REMARKS

Creates and adds a client plug-in to the only WebReceiver service.

Add-STFWebReceiverClientPlugin