Get-LabSourcesLocation

SYNOPSIS

Get lab source location

SYNTAX

Get-LabSourcesLocation [-Local] [<CommonParameters>]

DESCRIPTION

Gets the lab sources location by either returning it directly if defined or by scanning all local disks for a folder called LabSources

EXAMPLES

Example 1

PS C:\> Get-LabSourcesLocation -Local

Returns the local lab sources, e.g. D:\LabSources

PARAMETERS

-Local

Indicates that the local lab sources should be used instead of automatically determining the location

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
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

NOTES