AllowRebootPassThrough

//AllowRebootPassThrough
AllowRebootPassThrough 2015-04-24T13:35:49+00:00

The Toolkit Forums General AllowRebootPassThrough

  • Author
    Posts
  • stomie
    Participant
    Post count: 2
    #169 |

    Can someone explain this variable to me? The guide seems to contradict itself.

    According to the guide
    -AllowRebootPassThru $true | $false (default is false)

    Specify whether to allow the 3010 exit code (reboot required) to be passed back to the parent process (e.g. SCCM) if detected during an installation. If a 3010 code is passed to SCCM, the SCCM client will display a reboot prompt. If set to false, the 3010 return code will be replaced by a “0” (successful, no restart required).

    example
    Deploy-Application.exe -AllowRebootPassThru

    Deploy an application for installation, suppressing the PowerShell console window and allowing reboot codes to be returned to the parent process.

  • Muhammad Mashwani
    Keymaster
    Post count: 118

    Can you point out where the guide contradicts the above information you posted?

  • stomie
    Participant
    Post count: 2

    What does “Deploy-Application.exe -AllowRebootPassThru” do? Default value is false, correct? The instructions state “If set to false, the 3010 return code will be replaced by a “0” (successful, no restart required).”

You must be logged in to reply to this topic.