Set-STFWebReceiverGacs
Set the WebReceiver global app configuration service settings.
Syntax
Set-STFWebReceiverGacs [-WebReceiverService] <WebReceiverService> [[-Enabled] <Boolean>] [[-GacsUrl] <String>] [[-GacsEndpointsUrl] <String>] [[-ServiceId] <String>] [[-TokenDuration] <TimeSpan>] [<CommonParameters>]
Detailed Description
Set the WebReceiver global app configuration service settings.
Related Commands
Parameters
| Name | Description | Required? | Pipeline Input | Default Value |
|---|---|---|---|---|
| WebReceiverService | The WebReceiver service. | true | true (ByValue) | |
| Enabled | Bool value to enable global app configuration service (GACS). | false | true (ByValue) | |
| GacsUrl | The GACS Url. | false | true (ByValue) | |
| GacsEndpointsUrl | The GACS endpoints Url. | false | true (ByValue) | |
| ServiceId | The GACS Service Id. | false | true (ByValue) | |
| TokenDuration | The token expiry duration. This has maximum limit of 5 minutes. | false | 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
System.String
Parameter GacsUrl: The .NET
System.String reference type
System.String
Parameter GacsEndpointsUrl: The .NET
System.String reference type
System.String
Parameter ServiceId: The .NET
System.String reference type
System.TimeSpan
Parameter TokenDuration: The .NET
System.TimeSpan value type
Return Values
None
Examples
EXAMPLE 1 Set the WebReceiver global app configuration service settings
$receiver = Get-STFWebReceiverService
Set-STFWebReceiverGacs -WebReceiverService $receiver -Enabled $true -GacsUrl "https://gacs/service" -ServiceId "Some-Service-Id" -TokenDuration "00:03:00"
REMARKS
Adds a new global app configuration service setting to the WebReceiver and enables