Skip to content

Commit a7bae07

Browse files
SteveL-MSFTsdwheeler
authored andcommitted
add text on how to workaround lack of workflow checkpoints (#4942)
1 parent 879c46f commit a7bae07

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

reference/docs-conceptual/whats-new/breaking-changes-ps6.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ support PowerShell Workflow in PowerShell Core.
1818
In the future, we would like to enable native parallelism/concurrency in the PowerShell language
1919
without the need for PowerShell Workflow.
2020

21+
If there is a need to use checkpoints to resume a script after the OS restarts, we recommend
22+
using Task Scheduler to run a script on OS startup, but the script would need to maintain
23+
its own state (like persisting it to a file).
24+
2125
[workflow]: https://docs.microsoft.com/powershell/scripting/core-powershell/workflows-guide
2226
[workflow-foundation]: https://docs.microsoft.com/dotnet/framework/windows-workflow-foundation/
2327

0 commit comments

Comments
 (0)