diff --git a/lib/ansible/modules/extras/windows/win_scheduled_task.ps1 b/lib/ansible/modules/extras/windows/win_scheduled_task.ps1 index 6490d5562c3..70ba45e29d3 100644 --- a/lib/ansible/modules/extras/windows/win_scheduled_task.ps1 +++ b/lib/ansible/modules/extras/windows/win_scheduled_task.ps1 @@ -24,7 +24,7 @@ $ErrorActionPreference = "Stop" $params = Parse-Args $args; -$days_of_week = Get-AnsibleParam $params -anem "days_of_week" +$days_of_week = Get-AnsibleParam $params -name "days_of_week" $enabled = Get-AnsibleParam $params -name "enabled" -default $true $enabled = $enabled | ConvertTo-Bool $description = Get-AnsibleParam $params -name "description" -default " "