Knowledge Sharing, Career Resources & Professional Networking for Canadians, Newcomers, and Foreign-Trained Professionals.
Free bonus for newcomers in IT
Two ready-to-use, read-only PowerShell scripts for Microsoft 365 and Entra ID, from Williams, an IT and cybersecurity consultant who started in a survival job in Canada. Practise real admin work, build your portfolio and talk confidently about automation in interviews.
Enter your email and the download appears instantly.
Two read-only scripts that report on a tenant without changing anything, so they are safe to explore while you learn.
Get-TenantSnapshot.ps1Tenant inventoryExports users, groups, domains and licences to CSV files, so you can see a tenant at a glance.Get-TenantHealth.ps1HTML health reportFlags inactive accounts, admin roles, admins without MFA, expiring app credentials and licence usage.GraphHelpersHelper moduleReusable functions for paging through results, retrying failed calls and generating temporary passwords.Plus a README with the exact permissions each script needs.
The complete Microsoft Graph Administrator Starter Script Pack comes with my guide Microsoft Graph PowerShell for Administrators and adds the scripts that change a tenant:
New-Hire.ps1Onboarding from a CSVCreates users, sets their manager, adds them to groups and assigns a licence, with -WhatIf previews.Disable-Leaver.ps1Offboarding in one stepDisables the account, revokes sessions and removes groups and licences, with an optional log file.Test-StarterPack.ps1Test harness and labRuns every script and writes a pass/fail summary, with a step-by-step hands-on lab in the guide.Get-Help .\ScriptName.ps1 -Full to see each script’s built-in help and examples.Connect-MgGraph using the permissions listed in the README. Each script tells you if a permission is missing.Unblock-File on it. Start with Get-TenantSnapshot, then try the health report.Tested with PowerShell 7.x and Microsoft Graph PowerShell SDK 2.x. The MFA and sign-in sections of the health report need Microsoft Entra ID P1 or P2; without them the script still runs and marks those sections as not available.
“My first job in Canada was a survival job. What changed my path was learning skills employers could see. Use these scripts to practise, then show what you can do.”
— Williams, founder of ImmigrantLightGet the full script pack with my guide Microsoft Graph PowerShell for Administrators, which walks through every script step by step in a hands-on lab.
Yes. Enter your email to get the download. You’ll also get occasional ImmigrantLight updates, and you can unsubscribe anytime.
The free edition has the two read-only reporting scripts and the helper module. The full pack, which comes with the guide, adds the onboarding and offboarding scripts, a test harness and a hands-on lab for every script.
Basic familiarity helps, but the scripts are commented so you can follow along and learn as you go.
Test everything in a lab or test tenant first, and only run scripts in a work environment with your employer’s approval and the correct permissions.
Ask anonymously in the IT & Software forum or the Jobs & Canadian Workplace forum.
The scripts are provided as-is for learning, without warranty. Review and test before use; you are responsible for how you run them. © Okowil Solutions Inc. All rights reserved. Free for personal learning; please don’t resell or redistribute. Your email is used to send you the scripts and occasional ImmigrantLight updates; unsubscribe anytime. See our Privacy Policy. Microsoft, Microsoft 365, Entra and PowerShell are trademarks of Microsoft; ImmigrantLight is not affiliated with or endorsed by Microsoft.