< Back

Select-AnalysisServicesDeploymentExeVersion

Mon Jan 13, 2020 7:00 pm

NAME Select-AnalysisServicesDeploymentExeVersion



SYNOPSIS

Selects a version of Microsoft.AnalysisServices.Deployment.exe to use





SYNTAX

Select-AnalysisServicesDeploymentExeVersion [-PreferredVersion] <String> [<CommonParameters>]





DESCRIPTION

Selects a version of Microsoft.AnalysisServices.Deployment.exe to use





PARAMETERS

-PreferredVersion <String>

The preferred version of Microsoft.AnalysisServices.Deployment.exe to attempte to find.

Valid values for -PreferredVersion are:

* latest: Latest SQL Server version found on agent

* 150: SQL Server 2019

* 140: SQL Server 2017

* 130: SQL Server 2016

* 120: SQL Server 2014



Required? true

Position? 1

Default value

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

Returns a string containing the version found, if the preferred version could not be found.





NOTES





Written by (c) Dr. John Tunnicliffe, 2019 https://github.com/DrJohnT/DeployCube

This PowerShell script is released under the MIT license http://www.opensource.org/licenses/MIT



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



PS C:\\>Select-AnalysisServicesDeploymentExeVersion -PreferredVersion 140;















RELATED LINKS

https://github.com/DrJohnT/DeployCube