PowerShell Automation and User Provisioning

MRDTech keeps PowerShell automation in GitHub for endpoint management, user lifecycle operations, and repeatable administrative work.

Repository reference:

User provisioning scripts

Script Purpose
NewUserProvisioning.ps1 Creates AD users and assigns Microsoft 365 licensing
Invoke-UserOffboarding.ps1 Disables accounts, removes groups, revokes licenses, and moves users to disabled OU
Reset-UserPassword.ps1 Resets password, unlocks account, and forces password change at next logon
HelpDesk.ps1 Help desk account provisioning workflow
New-LocalAdminAccount.ps1 Local administrator account setup
RemediateLocalUser.ps1 Local user remediation tasks

Operating guidance

  • Treat production identity scripts as change-controlled infrastructure.
  • Keep tenant IDs, license SKUs, passwords, and service credentials out of source code.
  • Prefer parameterized scripts and environment/secure vault injection for tenant-specific values.
  • Test offboarding and license revocation logic against non-production or known test identities before use.

This page was last edited on 2026-07-04 20:59

Powered by Wiki|Docs

This page was last edited on 2026-07-04 20:59

MRDTECH Wiki / Engineer / Tech Enthusiast / Homelab Geek
No Copyright

Powered by Wiki|Docs