Citrix StoreFront SDK PowerShell Modules

New-STFWebReceiverClientPlugin

Create a WebReceiver client plug-in

Syntax

New-STFWebReceiverClientPlugin [-Name] <String> [[-Source] <String>] [[-Scripts] <String[]>] [[-Styles] <String[]>] [[-Parameters] <Hashtable>] [<CommonParameters>]
<!--NeedCopy-->

Detailed Description

Create WebReceiver script and branding customizations.

Parameters

Name Description Required? Pipeline Input Default Value
Name Name of plug-in. This should be unique across all the plug-ins true true (ByValue)  
Source The script source location associated with the plug-in false false  
Scripts List of script locations false false  
Styles List of style locations false false  
Parameters This is a list of name value pair for passing parameter to the source script false false  

Input Type

System.String

Parameter Name: The .NET System.String reference type

System.String

Parameter Source: The .NET System.String reference type

System.String[]

Parameter Scripts: The .NET System.String reference type

System.String[]

Parameter Styles: The .NET System.String reference type

System.Collections.Hashtable

Parameter Parameters: The .NET System.Collections.Hashtable reference type

Return Values

ClientPlugin

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

Examples

EXAMPLE 1 Create a new client plugin

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

REMARKS

Creates a new client plug-in for assignment to a WebReceiver.

New-STFWebReceiverClientPlugin