Skip to content

Read-FeatureFlag

SYNOPSIS

Read a feature flag from disk.

SYNTAX

ByName

Read-FeatureFlag [-Name] <String> [-ProgressAction <ActionPreference>] [<CommonParameters>]

ByFilePath

Read-FeatureFlag -FilePath <Object> [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

Reads the feature flag json file from disk and convert it to a feature flag object.

EXAMPLES

EXAMPLE 1

Read-FeatureFlag -FilePath 'MyFeature.json

Read the feature from disk.

PARAMETERS

-Name

{{ Fill Name Description }}

Type: String
Parameter Sets: ByName
Aliases:

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

-FilePath

The file path to the json.

Type: Object
Parameter Sets: ByFilePath
Aliases:

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

-ProgressAction

{{ Fill ProgressAction Description }}

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

System.Collections.Generic.List`1[[PropertySet, PowerShell Class Assembly, Version=1.0.0.2, Culture=neutral, PublicKeyToken=null]]

NOTES