https://learn.microsoft.com/en-us/powershell/module/configurationmanager/New-CMTSStepReboot?view=sccm-ps
New-CMTSStepReboot (ConfigurationManager) - Configuration Manager | Microsoft Learn
This cmdlet creates a new Restart Computer step object. Then use the Add-CMTaskSequenceStep cmdlet to add the step to a task sequence. For more information on...
configuration managernewconfigurationmanagermicrosoftlearn
https://learn.microsoft.com/en-us/powershell/module/configurationmanager/Get-CMTSStepReboot?view=sccm-ps
Get-CMTSStepReboot (ConfigurationManager) - Configuration Manager | Microsoft Learn
Use this cmdlet to get a task sequence step object for one or more instances of the Restart Computer step. You can use this object to: Remove the step from a...
configuration managergetconfigurationmanagermicrosoftlearn