external help file | Module Name | online version | schema |
---|---|---|---|
Bicep-help.xml |
Bicep |
2.0.0 |
Get metadata from a Bicep template
Get-BicepMetadata [-Path] <String> [[-OutputType] <String>] [-IncludeReservedMetadata]
[<CommonParameters>]
Get metadata from a Bicep template
Get-BicepMetadata -Path .\myTemplate.bicep
Get metadata from Bicep file
Get-BicepMetadata -Path .\myTemplate.bicep -OutputType Json
Get metadata from Bicep file and output as json
Get-BicepMetadata -Path .\myTemplate.bicep -OutputType Hashtable
Get metadata from Bicep file and output as hashtable
Get-BicepMetadata -Path .\myTemplate.bicep -IncludeReservedMetadata
Get metadata from Bicep file and include Bicep reserved metadata
Include Bicep reserved metadata
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specify output type
Type: String
Parameter Sets: (All)
Aliases:
Accepted values: PSObject, Json, Hashtable
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Path to Bicep file
Type: String
Parameter Sets: (All)
Aliases: PSPath
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
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.