This gets the D365FSC model version
Get-FSCPSModelVersion [-ModelPath] <String> [-ProgressAction <ActionPreference>] [<CommonParameters>]
This gets the D365FSC model version from the descriptor file by automatically finding the descriptor in the model path
Get-FSCPSModelVersion -ModelPath "c:\temp\metadata\TestModel"
This will get the version information of the TestModel by automatically finding the descriptor file
Get-FSCPSModelVersion -ModelPath "c:\temp\PackagesLocalDirectory\MyCustomModel"
This will get the version information of MyCustomModel including layer name
Path to the model folder (automatically searches for Descriptor*.xml inside)
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Tags: D365, FO, Finance, Operations, Model, Version, Descriptor, Metadata
Author: Oleksandr Nikolaiev (@onikolaiev)