Updating windows_tasks to support additional optional parameters