New-CMGlobalConditionIisMetabase

SYNOPSIS

Creates an IIS Metabase type global condition in Configuration Manager.

SYNTAX

New-CMGlobalConditionIisMetabase -DataType <GlobalConditionDataType> [-MetabasePath <String>]
 -PropertyId <Int32> -Name <String> [-Description <String>] [-DisableWildcardHandling] [-ForceWildcardHandling]

DESCRIPTION

The New-CMGlobalConditionIisMetabase cmdlet creates an IIS Metabase type global condition in Microsoft System Center Configuration Manager.

A global condition is a setting or expression in System Center Configuration Manager that you can use to specify how System Center Configuration Manager provides and deploys an application to clients.

EXAMPLES

Example 1

$GlobalIIS = New-CMGlobalConditionIisMetabase -DataType String -PropertyId $int -Name GC3

This command creates an IIS Metabase type global condition in Configuration Manager.

PARAMETERS

-DataType

Specifies a data type.

Type: GlobalConditionDataType
Parameter Sets: (All)
Aliases:
Accepted values: String, DateTime, Integer, FloatingPoint, Version, Boolean, StringArray

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Description

Specifies a description.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-DisableWildcardHandling

DisableWildcardHandling treats wildcard characters as literal character values. Cannot be combined with ForceWildcardHandling.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ForceWildcardHandling

ForceWildcardHandling processes wildcard characters and may lead to unexpected behavior (not recommended). Cannot be combined with DisableWildcardHandling.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-MetabasePath

Specifies a valid path to the IIS Metabase.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Name

Specifies a name.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-PropertyId

Specifies the numeric property of the IIS Metabase setting.

Type: Int32
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

OUTPUTS

System.Object