Documentation Center

Getting input parameters for deployments

You can use ISHDeploy cmdlets to get a list of all input parameters or to get information on a single parameter.

Get the input parameters of a deployment

The module's cmdlets often modify the files on the file system. When the modified value was originally replaced by an InstallTool's input parameter, then the cmdlet also adapts the current input parameters. Each deployment has two sets of input parameters known to the module:

  • The Original that was generated by InstallTool.
  • The Current that reflects the history.

You can get each list like this:

$deploymentName = "InfoShare"
# Get current set
Get-ISHDeploymentParameters -ISHDeployment $deploymentName
# Get original set
Get-ISHDeploymentParameters -ISHDeployment $deploymentName -Original

And the shortened outcome looks like this:

Name                                     Value
----                                     -----
osuser                                   osuser
ospassword                               *******
...
databasetype                             sqlserver
apppath                                  C:\InfoShare
webpath                                  C:\InfoShare
datapath                                 C:\InfoShare
workspacepath                            C:\InfoShare\_Workspace
infosharecswebappname                    ishcs                                                                                                                                                                 
infoshareauthorwebappname                ishcm                                                                                                                                                                 
infosharewswebappname                    ishws                                                                                                                                                                  
infosharestswebappname                   ishsts                                                                                                                                                                 
infoshareidwebappname                    ishid                                                                                                                                                                
infoshareextwebappname                   ishext
infoshareamwebappname                    isham
websitename                              Default Web Site
...

To get a quick comparison:

$deploymentName = "InfoShare"
Get-ISHDeploymentParameters -ISHDeployment $deploymentName -Changed

By default, the Get-ISHDeploymentParameters will mask all input parameters whose name contains the word password. To override this behavior, use the -ShowPassword parameter.

$deploymentName = "InfoShare"
# Get current set with clear passwords
Get-ISHDeploymentParameters -ISHDeployment $deploymentName -ShowPassword

Get one input parameter of a deployment

Get-ISHDeploymentParameters offers an additional parameter set that helps when working with one parameter. When -Name is specified, the cmdlet will return one record matching the specified name. When -ValueOnly is specified, the cmdlet will return only the value instead of the record set.

For example Get-ISHDeploymentParameters -ISHDeployment $deploymentName -Name databasetype -ValueOnly only returns sqlserver.