Skip to content

Get MofSchemaName

gaelcolas edited this page Jul 18, 2024 · 1 revision

Get-MofSchemaName

SYNOPSIS

Gets the Name and Friendly Name of MOF-Based resources from their Schemas.

SYNTAX

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

DESCRIPTION

This function looks within a DSC resource's .MOF schema to find the name and friendly name of the class.

EXAMPLES

EXAMPLE 1

Get-MofSchemaName -Path Source/DSCResources/MyResource/MyResource.schema.mof

PARAMETERS

-Path

Path to the DSC Resource Schema MOF.

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.Collections.Hashtable

NOTES

RELATED LINKS

Clone this wiki locally