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

PowerShell PowerTip: Customizing your prompt

I've been taking a break from the blog for a while due to some personal reasons, but I had a few people ask me about my PowerShell prompt recently. (image) I like extra horizontal space, so I removed the path from the prompt and put it in the window title bar. I also just display the current time in the prompt ...