Get-ScContextInfo
Get the current Sitecore type and version.
Syntax
Get-ScContextInfo [[-ProjectPath] <String>] [<CommonParameters>]
Description
Get the current Sitecore type and version. It returns an object with the properties "type" (Mvc or WebForms) and "version".
Parameters
-ProjectPath <String>
The path to the project to get the information for.
| Position | Required | Default value | Accept pipeline input | Accept wildchard characters |
|---|---|---|---|---|
| 1 | false | false | false |