Convert to and from Windows and Unix timestamps with PowerShell

Convert Windows Unix timestamps to DateTime PSObject

In this post I detail a module I’ve just published that is another of those I’ve done this before, but how do I find it again moments. Converting from Windows and Unix timestamps with PowerShell. A number of the PowerShell Modules I’ve published do contain the Unix timestamp conversion, but I couldn’t find Windows timestamp conversion as a function that I know I’ve previously written.… keep reading

Connecting to Microsoft Graph using the Authorization Code with PKCE Flow and PowerShell

Connecting to Microsoft Graph using the Authorization Code with PKCE Flow and PowerShell

I’ve authored numerous posts on using the Microsoft Authentication Libraries to connect to Microsoft Graph using PowerShell and Python. They cover using both public and confidential client methods. But what about a method that can be either? In this post I show how to use the Authorization Code with PKCE Flow and PowerShell to authenticate and authorize against Azure Active Directory for Microsoft Graph access.… keep reading