ConvertFrom-IssueForm¶
SYNOPSIS¶
Converts the issue form content into a hashtable or object.
SYNTAX¶
ConvertFrom-IssueForm [-IssueForm] <String> [-AsHashtable] [-ProgressAction <ActionPreference>]
[<CommonParameters>]
DESCRIPTION¶
Aligns with the issue form content structure and converts it into a hashtable or object. Section titles become keys and their content becomes values.
EXAMPLES¶
EXAMPLE 1¶
@'
### Section 1
Content 1
Content 2
Section 2¶
- [ ] Item 1
- [x] Item 2 '@ | ConvertFrom-IssueForm Section 1 Section 2 --------- --------- Content 1… {[Item 2, True], [Item 1, False]}
Converts the issue form content into a hashtable.
PARAMETERS¶
-IssueForm¶
The issue form content to parse.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
-AsHashtable¶
If set, the output will be a hashtable instead of an object.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
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.