nordlo.partille.cblifecycle 0.4.0-rc.1

Handles creation, updates and deletion of computer objects representing chromebooks in Active Directory

No packages depend on nordlo.partille.cblifecycle.

Added

  • Timed deletion of DEPROVISIONED devices. Invoke-PKChromebookLifecycle now records the date a device is first detected as DEPROVISIONED in a configurable AD attribute (-DeprovisionDateAttribute, default extensionAttribute1) and, when -EnableDeletion is set, removes the account once it has been deprovisioned for at least -DeprovisionRetentionDays days (default 90). Deletions are governed by the existing -DeletionSafetyLimit / -ForceDelete safeguards. The stamp is cleared automatically if the device returns to ACTIVE. Set -DeprovisionRetentionDays 0 to keep the disable+stamp behaviour but never delete. New parameters are also forwarded by the Run-ChromebookProvisioning.ps1 wrapper. (Events 1134/1135/1205.)
  • ACTIVE-wins precedence for duplicate export rows: if a serial appears with both ACTIVE and non-ACTIVE status, the account is created/updated and enabled and is never disabled, deprovision-stamped, or deleted. The conflict is logged (event 1136).
  • Get-GoogleChromeDevice -HttpTimeoutSec (default 100) sets a per-request timeout on the Google token and Directory API calls so a stalled TCP connection can no longer hang the fetch indefinitely. Retries (MaximumRetryCount) do not cover a hang — they only fire on a completed 429/5xx response. Exposed by the Run-ChromebookProvisioning.ps1 wrapper as -GoogleHttpTimeoutSec.
  • Phase tracking and per-step timing in Run-ChromebookProvisioning.ps1. The wrapper now logs each phase transition (Startup, ImportModule, GoogleFetch, Preprovision, Lifecycle, Finalize) and, at the end of every run, a timing summary with the elapsed time of each step and the total run time. The current phase is stamped into the lock breadcrumb, so an ABNORMAL_END alert now names the exact phase (with a descriptive label) the killed run had reached instead of leaving it a mystery.

Changed

  • Duplicate-serial warning now reports the exact count and names the specific duplicated serials, and detects two non-ACTIVE rows sharing a serial (the previous count heuristic missed that case).
  • Behaviour change: existing -EnableDeletion users will begin deleting devices that have been DEPROVISIONED for ≥90 days. Opt out with -DeprovisionRetentionDays 0.

This package has no dependencies.

Version Downloads Last updated
0.5.0-rc.1 2 07/01/2026
0.4.0-rc.3 2 07/01/2026
0.4.0-rc.2 1 07/01/2026
0.4.0-rc.1 2 07/01/2026
0.3.0 1 06/25/2026
0.3.0-rc.21 1 07/01/2026
0.3.0-rc.20 1 06/23/2026
0.3.0-rc.19 1 06/23/2026
0.3.0-rc.18 2 06/22/2026
0.3.0-rc.17 2 06/17/2026
0.3.0-rc.16 8 06/17/2026
0.3.0-rc.15 2 06/17/2026
0.3.0-rc.14 1 06/17/2026
0.3.0-rc.13 2 06/17/2026
0.3.0-rc.12 2 06/17/2026
0.3.0-rc.11 3 06/17/2026
0.3.0-rc.10 2 06/17/2026
0.3.0-rc.9 1 06/16/2026
0.3.0-rc.8 1 06/16/2026
0.3.0-rc.7 2 06/12/2026
0.3.0-rc.6 8 06/09/2026