Set-STFWebReceiverBlockingNotification
Set the WebReceiver Blocking Notification
Syntax
Set-STFWebReceiverBlockingNotification [-WebReceiverService] <WebReceiverService> [[-Enabled] <Boolean>] [[-Title] <String>] [[-Body] <String>] [[-Button] <String>] [[-Frequency] <FirstLogin | EveryDay | Every7Days | Every30Days>] [<CommonParameters>]
Detailed Description
Set the WebReceiver Blocking Notification.
Related Commands
Parameters
| Name | Description | Required? | Pipeline Input | Default Value |
|---|---|---|---|---|
| WebReceiverService | The WebReceiver service. | true | true (ByValue) | |
| Enabled | Bool value to enable or disable blocking notification | false | true (ByValue) | |
| Title | Title for the blocking notification | false | true (ByValue) | |
| Body | Body of the blocking notification | false | true (ByValue) | |
| Button | Button text of the blocking notification | false | true (ByValue) | |
| Frequency | Frequency with which to display the blocking notification | 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 Title: The .NET
System.String reference type
System.String
Parameter Body: The .NET
System.String reference type
System.String
Parameter Button: The .NET
System.String reference type
Citrix.StoreFront.Model.ReceiverForWeb.BlockingNotificationFrequency
Parameter Frequency: The .NET
Citrix.StoreFront.Model.ReceiverForWeb.BlockingNotificationFrequency value type
Return Values
None
Examples
EXAMPLE 1 Set WebReceiver Blocking Notification
$receiver = Get-STFWebReceiverService
$collection = @($newLink)
Set-STFWebReceiverBlockingNotification -WebReceiverService $receiver -Enabled $true -Title "Privacy Policy" -Body "Please read the policy in full and click I accept" -Button "I accept" -Frequency Daily
REMARKS
Sets a blocking notification to be displayed to users each day on logon