mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
win_scheduled_task: add deprecation warning for repetition format (#45468)
* win_scheduled_task: add deprecation warning for repetition format * fixed up sanity issues
This commit is contained in:
parent
ee8a10b87d
commit
ec6d82435f
10 changed files with 95 additions and 44 deletions
|
@ -252,7 +252,10 @@ try {
|
|||
$result.folder_exists = $true
|
||||
} catch {
|
||||
$result.folder_exists = $false
|
||||
$task_folder = $null
|
||||
if ($null -ne $name) {
|
||||
$result.task_exists = $false
|
||||
}
|
||||
Exit-Json -obj $result
|
||||
}
|
||||
|
||||
$folder_tasks = $task_folder.GetTasks(1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue