deadlydog / AzureDevOps.WindowsScheduledTasks

An Azure DevOps extension for installing and uninstalling Windows Scheduled Tasks
MIT License
10 stars 3 forks source link

Proposal: Allow usage without specifying user account #20

Closed glatzert closed 2 years ago

glatzert commented 2 years ago

Tasks can contain a principal (especially a gMSA) which does not need a password, but may run without being logged in. To import those tasks, the -User parameter must be omitted in Register-ScheduledTask.

I made a PR to change the Install-WindowsScheduledTask to accomodate for empty usernames, but I'm no "task developer" and struggle to make changes to allow empty usernames.

Also you can just call my request out-of-scope, then I'll fallback to some powershell module.

glatzert commented 2 years ago

21 The "companion" PR

deadlydog commented 2 years ago

This is now available in v2.2.1 of the extension. Thanks so much for contributing!

deadlydog commented 1 year ago

The additional fix from #23 is now available in v2.3.12 of the extension. Thanks again!