Scripting Blog [archived]

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

PowerTip: Identify the last time Users changed passwords in AzureAD

Summary: Using PowerShell to report on Users and the last time Passwords were changed (image) Hey, Doctor Scripto! I need to report on users and when they updated their passwords In AzureAD. Could you show me how ? (image) Most certainly, I love to provide a helping hand however I can. Using the Get-Msoluser Cmdlet just target ...

Reporting on Microsoft 365 Licensing using PowerShell – Part 2

Summary: Will Martin continues his discussion on how to report on Microsoft 365 licensing in the cloud. Previous Posts on this article can be found here for continuity Reporting on Microsoft 365 Licensing using PowerShell – Part 1 Remember from last week we showed the results of what a user licensed in Microsoft 365 looked like in ...

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 ...

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...