Skip to content

Get SamplerProjectName

gaelcolas edited this page Jul 18, 2024 · 1 revision

Get-SamplerProjectName

SYNOPSIS

Gets the Project Name based on the ModuleManifest if Available.

SYNTAX

Get-SamplerProjectName [-BuildRoot] <String> [<CommonParameters>]

DESCRIPTION

Finds the Module Manifest through Get-SamplerProjectModuleManifest and deduce ProjectName based on the BaseName of that manifest.

EXAMPLES

EXAMPLE 1

Get-SamplerProjectName -BuildRoot 'C:\src\MyModule'

PARAMETERS

-BuildRoot

BuildRoot of the Sampler project to search the Module manifest from.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
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