Citrix StoreFront SDK PowerShell Modules

Set-STFReturnStoreServerName

Set return server name header

Syntax

Set-STFReturnStoreServerName [-StoreService] <StoreService> [-Enabled] <Boolean> [<CommonParameters>]
<!--NeedCopy-->

Detailed Description

Sets the enable or disable flag for Store to return the server name into response header as ‘X-Citrix-Server-Name’.

The configuration will be applied to Store, Authentication and WebReceiver services of the Store.

Parameters

Name Description Required? Pipeline Input Default Value
StoreService Store service true true (ByValue)  
Enabled Specifies whether to return the store server name in response header for the store or not true false  

Input Type

Citrix.StoreFront.Model.Store.StoreService

Parameter StoreService: A .NET class representing the configuration of a StoreFront Store service

System.Boolean

Parameter Enabled: The .NET System.Boolean value type

Return Values

None

Examples

EXAMPLE 1 Set return server name header

$storeService = Get-STFStoreService /Citrix/Store
         Set-STFReturnStoreServerName -StoreService $storeService -Enabled $false
<!--NeedCopy-->

REMARKS

Disables returning the server name as a header ‘X-Citrix-Server-Name’ in the response.

The configuration will be applied to provided Store’s Authentication, WebReceiver and Store Services.

Set-STFReturnStoreServerName