<a href="T_Microsoft_Win32_TaskScheduler_Action.htm">Action</a></dt><dd>The <a href="T_Microsoft_Win32_TaskScheduler_Action.htm">Action</a> to determine what happens when the task is triggered.</dd><dt class="has-text-weight-normal"><span class="parameter">userId</span>  <a href="https://learn.microsoft.com/dotnet/api/system.string" target="_blank" rel="noopener noreferrer">String</a>  (Optional)</dt><dd>The user credentials used to register the task.</dd><dt class="has-text-weight-normal"><span class="