Skip to content

Read-PropertySet

SYNOPSIS

Read the properties from disk.

SYNTAX

ByName

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

ByFilePath

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

DESCRIPTION

Reads the properties json file from disk and convert it to a property set.

EXAMPLES

EXAMPLE 1

Read-PropertySet -FilePath 'C:\foo\properties.json'

This would return a PropertySet object that contains all of the properties to evaluate.

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