I am using the PSADT to perform a simple folder name change. I need to force the system to restart after. I’ve seen numerous bits and pieces on this but no real solution. There is an assumption of knowledge that I haven’t reached yet. Can someone tell me what line to put in the script that will hand SCCM a 3010 exit code and where to place that line or lines.
Can someone provide detailed instructions on how to force exit code 3010 to CM when the script is finished?
That will work but it won’t be logged. Some of the fancy features like BlockExecution will stick around, too.
You’ll want logging because when things go South, you won’t be there to see it.
The proper way is: