Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

PowerTip: Identify the last time a User was Synchronized to AzureAD

Summary: Use PowerShell to identify the property in AzureAD with the Synchronization time in AzureAD (image) Hey, Doctor Scripto. Is there a way with PowerShell to identify when a user was last synchronized with AzureAD? (image) Absolutely! We just need to examine the LastDirSyncTime when using the Get-Msoluser cmdlet. Here’s ...

Reporting on Microsoft 365 Licensing using PowerShell – Part 1

Summary: Will Martin discusses how to report on Microsoft 365 licensing in the cloud. Hello everyone, Doctor Scripto here today to introduce you to a good friend of mine. Will Martin is a PFE in Messaging here at Microsoft and he wanted to share a wonderful solution he found on reporting on Microsoft 365 licensing with PowerShell. Will ...

PowerTip: Show files with expired Digital Certificates

Summary: Targeting Expired Certificates with Get-AuthenticodeSignature (image) Question: Hey Doctor Scripto! Is there an easy way to visually identify Digitally signed files with an Expired status on the Digital Certificate? (image) Answer: Absolutely! We just need to filter on the “Status” property and show those without the...