in the PowerShell 5 I could do that with workflow in PowerShell
but I don't know how to do that in PowerShell core.
@SteveL-MSFT The scenario is not addressed in docs https://docs.microsoft.com/en-us/powershell/scripting/whats-new/breaking-changes-ps6?view=powershell-6
In the future, we would like to enable native parallelism/concurrency in the PowerShell language without the need for PowerShell Workflow.
@iSazonov I think the question is about checkpoints in PowerShell workflow.
@khoshroomahdi IMO, Its never gonna come in core as is.
@kvprasoon Yes, my comment that the scenario could be in breaking change docs and maybe with a workaround.
@khoshroomahdi there are no plans to bring back PSWorkflow as workflow is not supported in .NET Core. However, the current suggested workaround is to leverage Task Scheduler to run a PowerShell script after a restart. I'll submit a PR to update that doc.
Most helpful comment
@khoshroomahdi there are no plans to bring back PSWorkflow as workflow is not supported in .NET Core. However, the current suggested workaround is to leverage Task Scheduler to run a PowerShell script after a restart. I'll submit a PR to update that doc.