-
Notifications
You must be signed in to change notification settings - Fork 43
Get SamplerModuleInfo
Loads the PowerShell data file of a module manifest.
Get-SamplerModuleInfo [-ModuleManifestPath] <String> [<CommonParameters>]
This function loads a psd1 (usually a module manifest), and return the hashtable. This implementation works around the issue where Windows PowerShell version have issues with the pwsh $Env:PSModulePath such as in vscode with the vscode powershell extension.
Get-SamplerModuleInfo -ModuleManifestPath C:\src\MyProject\output\MyProject\MyProject.psd1
Path to the ModuleManifest to load. This will not use Import-Module because the module may not be finished building, and might be missing some information to make it a valid module manifest.
Type: String
Parameter Sets: (All)
Aliases: Path
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
- Add Sample
- Convert SamplerHashtableToString
- Get BuiltModuleVersion
- Get ClassBasedResourceName
- Get CodeCoverageThreshold
- Get MofSchemaName
- Get OperatingSystemShortName
- Get PesterOutputFileFileName
- Get Psm1SchemaName
- Get SamplerAbsolutePath
- Get SamplerBuildVersion
- Get SamplerBuiltModuleBase
- Get SamplerBuiltModuleManifest
- Get SamplerCodeCoverageOutputFile
- Get SamplerCodeCoverageOutputFileEncoding
- Get SamplerModuleInfo
- Get SamplerModuleRootPath
- Get SamplerProjectName
- Get SamplerSourcePath
- Invoke SamplerGit
- Merge JaCoCoReport
- New SampleModule
- New SamplerJaCoCoDocument
- New SamplerPipeline
- Out SamplerXml
- Set SamplerPSModulePath
- Split ModuleVersion
- Update JaCoCoStatistic