Skip to content

Fixed the order of passing arguments from bat files when running the main script#24

Open
msa48 wants to merge 1 commit intorencore:masterfrom
msa48:master
Open

Fixed the order of passing arguments from bat files when running the main script#24
msa48 wants to merge 1 commit intorencore:masterfrom
msa48:master

Conversation

@msa48
Copy link
Contributor

@msa48 msa48 commented Jul 3, 2019

Current versions of *.bat scripts is not correctly mapping arguments while calling SPSD_Main.ps1

Order of input params

param 
(
    #optional parameter
    [ValidateNotNullOrEmpty()]
    [ValidateSet('Deploy', 'Redeploy', 'Retract', 'Update', 'Ask')]
    [string]$Command = "Deploy",

    [ValidateNotNullOrEmpty()]
    [ValidateSet('All', 'Solutions', 'Extensions')]
    [string]$Type = "All",          # Makes it possible to only deploy the solutions or the defined site structure

    [ValidateNotNullOrEmpty()]
    [ValidateSet('Error', 'Warning', 'Information', 'Verbose', 'VerboseExtended')]
    [string]$Verbosity = "verbose", # defines how detailed the log is created each level includes the ones above
    [string]$envFile,               # external environment configuration file
    [switch]$saveEnvXml = $true,    # filename of the used environment configuration (merged file of referenced files with replaced variables)
    [string]$solutionDirectory = "" # Optional: specify a custom folder location where the solutions files are stored
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments