Skip to content

Get Psm1SchemaName

gaelcolas edited this page Jul 18, 2024 · 1 revision

Get-Psm1SchemaName

SYNOPSIS

Gets the Name of composite DSC resources from their *.schema.psm1 file.

SYNTAX

Get-Psm1SchemaName [-Path] <String> [<CommonParameters>]

DESCRIPTION

This function looks within a composite DSC resource's *.schema.psm1 file to find the name and friendly name of the class.

EXAMPLES

EXAMPLE 1

Get-Psm1SchemaName -Path Source/DSCResources/MyCompositeResource/MyCompositeResource.schema.psm1

PARAMETERS

-Path

Path to the DSC Resource *.schema.psm1 file.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
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.String[]

NOTES

RELATED LINKS

Clone this wiki locally