Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Workflows and Rebootin

$
0
0

I am trying to use a workflow to perform part of a process then reboot then be able to continue and complete the process. The test code I have below is all completing before the reboot. What am I missing!

WorkflowNew-ComputerSetup {

 

 

New-Itemc:\temp\stage3.txt-ItemTypefile

 

 

 

 

 

Restart-Computer-wait

 

 

 

New-Itemc:\temp\stage4.txt-ItemTypefile

}

New-ComputerSetup

 

 

 


Viewing all articles
Browse latest Browse all 6937

Trending Articles