Skip to content

Commit

Permalink
optional parameter SolutionDataFolderPath
Browse files Browse the repository at this point in the history
  • Loading branch information
v-amolpatil committed Jan 29, 2025
1 parent 9d15f7b commit 64503e4
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion Tools/Create-Azure-Sentinel-Solution/V3/createSolutionV3.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@

param(
[string]$SolutionDataFolderPath = $null
)

Write-Host '=======Starting Package Creation using V3 tool========='
$path = Read-Host "Enter solution data file path "
if ($null -eq $SolutionDataFolderPath -or $SolutionDataFolderPath -eq '') {
$path = Read-Host "Enter solution data folder path "
} else {
$path = $SolutionDataFolderPath
Write-Host "Solution Data folder path specified is : $path"
}

$defaultPackageVersion = "3.0.0" # for templateSpec this will be 2.0.0
Write-Host "Path $path, DefaultPackageVersion is $defaultPackageVersion"

Expand Down

0 comments on commit 64503e4

Please sign in to comment.