Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 1.08 KB

Queries.md

File metadata and controls

33 lines (23 loc) · 1.08 KB

Queries

Queries can be used in a number of places within TsGui to get system state. Primarily they are used in the <SetValue> element to assign the value to a GuiOption. They are also used in the Compliance and Validation features, as well as being options for setting property values for scripts.

Query Types

Structure

Ignoring Values

Sometimes the values set in the environment variable aren't what we wanted returned from our query. An example is the default names set in WinPE during operating system deployments.

To ignore a value and an <Ignore> element to your query.

<Query Type="EnvironmentVariable">
    <Variable Name="OSDComputerName"/>
    <Ignore>MININT</Ignore>
    <Ignore>MINWIN</Ignore>
</Query>