Skip to content

ConvertFrom-IssueForm

SYNOPSIS

Converts the issue form content into a hashtable or object.

SYNTAX

__AllParameterSets

ConvertFrom-IssueForm [-IssueForm] <string> [-AsHashtable] [<CommonParameters>]

ALIASES

This cmdlet has the following aliases, {{Insert list of aliases}}

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

-AsHashtable

If set, the output will be a hashtable instead of an object.

Type: System.Management.Automation.SwitchParameter
DefaultValue: False
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-IssueForm

The issue form content to parse.

Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: 0
  IsRequired: true
  ValueFromPipeline: true
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

CommonParameters

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

INPUTS

System.String

{{ Fill in the Description }}

OUTPUTS

System.Management.Automation.PSObject

{{ Fill in the Description }}

System.Collections.Hashtable

{{ Fill in the Description }}

NOTES