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).
Deploy an application for installation, suppressing the PowerShell console window and allowing reboot codes to be returned to the parent process.