Share via


TF_Settings (Industry 8.1)

7/8/2014

Review the syntax, members, and examples of the TF_Settings WMI provider class for Windows Embedded 8.1 Industry (Industry 8.1).

This Windows Management Instrumentation (WMI) provider class enables or disables Toast Notification Filter.

Syntax

class TF_Settings {
    [Key] String Id;
    [Read, Write] Boolean FilterEnabled;
};

Members

The following tables list any methods and properties that belong to this class.

Methods

This class contains no methods.

Properties

Property

Data type

Qualifiers

Description

Id

string

[read, key]

A unique ID. This is always set to TF_SETTINGS.

FilterEnabled

Boolean

none

Indicates if Toast Notification Filter is enabled. If FilterEnabled is false when a user signs in, then system toast notifications are not blocked.

Remarks

You must use an administrator account to change any properties in this class.

Changes to Toast Notification Filter do not take effect in the current session. You must sign out and sign back in before the changes take effect.

Example

The following Windows PowerShell script demonstrates how to use this class to enable Toast Notification Filter.

#---Define variables---

$COMPUTER = "localhost"
$NAMESPACE = "root\standardcimv2\embedded"

$ToastFilterSettings = get-wmiobject –namespace $NAMESPACE –computer $COMPUTER –class TF_Settings

$ToastFilterSettings.FilterEnabled = 1

$ToastFilterSettings.put()

See Also

Concepts

Toast Notification Filter