Set-STFWebReceiverPinnedLinks
Set the WebReceiver Pinned Links
Syntax
Set-STFWebReceiverPinnedLinks [-WebReceiverService] <WebReceiverService> [-PinnedLinks] <Collection`1> [-Enabled] <Boolean> [<CommonParameters>]
Detailed Description
Set the WebReceiver Pinned Links.
Related Commands
Parameters
| Name | Description | Required? | Pipeline Input | Default Value |
|---|---|---|---|---|
| WebReceiverService | The WebReceiver service. | true | true (ByValue) | |
| PinnedLinks | The pinned links. | true | true (ByValue) | |
| Enabled | Bool value to enable or disable pinned links | true | true (ByValue) |
Input Type
Citrix.StoreFront.Model.ReceiverForWeb.WebReceiverService
Parameter WebReceiverService: A .NET class representing the configuration of a StoreFront Web Receiver service
System.Boolean
Parameter Enabled: The .NET
System.Boolean value type
Return Values
None
Examples
EXAMPLE 1 Set WebReceiver Pinned Links
$receiver = Get-STFWebReceiverService
$newLink = New-Object Citrix.StoreFront.Model.ReceiverForWeb.Link
$newLink.DisplayText = "Support"
$newLink.Hyperlink = "https://supportorg"
$newLink.Icon = "C:\supportIcon.jpg"
$newLink.TooltipText = "The place for support"
$collection = @($newLink)
Set-STFWebReceiverPinnedLinks -WebReceiverService $receiver -PinnedLinks $collection -Enabled $true
REMARKS
Adds a new pinned link to the WebReceiver and enables displaying pinned likes in the Web UI