diff --git a/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Identity/Administration/Users/Invoke-ExecOffboardUser.ps1 b/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Identity/Administration/Users/Invoke-ExecOffboardUser.ps1 index 85342af27473..efbec290e6aa 100644 --- a/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Identity/Administration/Users/Invoke-ExecOffboardUser.ps1 +++ b/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Identity/Administration/Users/Invoke-ExecOffboardUser.ps1 @@ -40,7 +40,7 @@ function Invoke-ExecOffboardUser { Headers = $Headers } if ($Request.Body.Scheduled.enabled) { - $taskObject.ScheduledTime = $Request.Body.Scheduled.date + $taskObject | Add-Member -NotePropertyName ScheduledTime -NotePropertyValue $Request.Body.Scheduled.date } else { $Params.RunNow = $true } diff --git a/version_latest.txt b/version_latest.txt index 06bcad3c615e..9b36ab7e7df8 100644 --- a/version_latest.txt +++ b/version_latest.txt @@ -1 +1 @@ -10.2.4 +10.2.5