< Back

Get-WebProject

Sat Jan 18, 2020 6:44 pm

NAME Get-WebProject



SYNOPSIS

Gets the paths to web project files in the subdirectories of the solution root path.





SYNTAX

Get-WebProject [[-SolutionRootPath] <String>] [[-ExcludeFilter] <String[]>] [<CommonParameters>]





DESCRIPTION





PARAMETERS

-SolutionRootPath <String>

The absolute or relative solution root path.



Required? false

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ExcludeFilter <String[]>

Specifies which folders do exclude in the search. Defaults to "node_modules", "bower_components", "obj" and

"bin".



Required? false

Position? 2

Default value @("node_modules", "bower_components", "obj", "bin")

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

System.Object[]





-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-WebProject -SolutionRootPath "C:\\Path\\To\\MySolution"



Get all web projects in "C:\\Path\\To\\MySolution" and it's subfolders.











RELATED LINKS