diff --git a/Tasks/Manage-AutomationAccount/Manage-AutomationAccount.ps1 b/Tasks/Manage-AutomationAccount/Manage-AutomationAccount.ps1 index 7696c93..bf53f0c 100644 --- a/Tasks/Manage-AutomationAccount/Manage-AutomationAccount.ps1 +++ b/Tasks/Manage-AutomationAccount/Manage-AutomationAccount.ps1 @@ -10,10 +10,10 @@ $resourceGroup = Get-VstsInput -Name 'resourceGroup' -Require $automationAccount = Get-VstsInput -Name 'automationAccount' -Require $storageAccount = Get-VstsInput -Name 'storageAccount' $storageAccountContainer = Get-VstsInput -Name 'storageAccountContainer' -$fullSync = Get-VstsInput -Name 'fullSync' -$reportMissingImplementation = Get-VstsInput -Name 'reportMissingImplementation' -$verboseLog = Get-VstsInput -Name 'verbose' -$helperHybridWorkerModuleManagement = Get-VstsInput -Name 'helperHybridWorkerModuleManagement' +$fullSync = Get-VstsInput -Name 'fullSync' -AsBool +$reportMissingImplementation = Get-VstsInput -Name 'reportMissingImplementation' -AsBool +$verboseLog = Get-VstsInput -Name 'verbose' -AsBool +$helperHybridWorkerModuleManagement = Get-VstsInput -Name 'helperHybridWorkerModuleManagement' -AsBool if ($verboseLog) { Write-host "Verose log will be enabled" diff --git a/Tasks/Manage-AutomationAccount/task.json b/Tasks/Manage-AutomationAccount/task.json index 5b78d96..3be16fb 100644 --- a/Tasks/Manage-AutomationAccount/task.json +++ b/Tasks/Manage-AutomationAccount/task.json @@ -113,6 +113,14 @@ "defaultValue": false, "required": false, "helpMarkDown": "Whether to turn on helper: HybridWorkerModuleManagement" + }, + { + "name": "verbose", + "type": "boolean", + "label": "Produce verbose log", + "defaultValue": false, + "required": false, + "helpMarkDown": "Whether to turn on verbose logging" } ], "execution": { diff --git a/vss-extension.json b/vss-extension.json index 4e96800..de5f087 100644 --- a/vss-extension.json +++ b/vss-extension.json @@ -2,7 +2,7 @@ "manifestVersion": 1, "id": "Manage-AutomationAccount", "name": "Manage-AutomationAccount", - "version": "1.9.123", + "version": "1.9.124", "publisher": "GreyCorbelSolutions", "targets": [ {