Changed sm script to take param
This commit is contained in:
Родитель
26f74b946b
Коммит
5eb5614632
|
@ -1,4 +1,6 @@
|
|||
function Download-AgentMsi
|
||||
param ([string] $msiPath)
|
||||
|
||||
function Download-AgentMsi
|
||||
{
|
||||
param (
|
||||
[string] $msiPath
|
||||
|
@ -15,7 +17,4 @@
|
|||
Write-Host "End - Agent MSI download process."
|
||||
}
|
||||
|
||||
$agentMsi = "ApplicationInsightsAgent.msi"
|
||||
$msiPath = Join-Path "C:\" $agentMsi
|
||||
|
||||
Download-AgentMsi $msiPath
|
Загрузка…
Ссылка в новой задаче