How to Fix PowerShell GUI Freezes when Running
In some cases, when running a GUI PowerShell script, Winform is frozen then you cannot move your mouse and click on the form buttons again.
172 articles
In some cases, when running a GUI PowerShell script, Winform is frozen then you cannot move your mouse and click on the form buttons again.
We have a PowerShell script where we perform the call to get the renewal date of a Microsoft 365 subscription with Microsoft Graph API.
In this post, I will show you how to use it to get the license expiration dates of all Microsoft 365 subscriptions in your tenant.
Working with Microsoft 365 and Entra ID licenses and understanding them can be quite the task for many system administrators. Did you know that the official Microsoft Learn article lists more than 3230 different SKU IDs and names as of June 1st 2023?
There are multiple methods of obtaining an access token for the Graph API, but an easy method is to use the Microsoft Authentication Library PowerShell Module (MSAL.PS).
The Microsoft Graph PowerShell SDK consists of a main module and 38 sub-modules. The SDK is essentially a wrapper that allows you to use PowerShell cmdlets to make calls to Microsoft Graph. It targets Systems Administrators who are familiar with PowerShell and may not have as much experience working with various APIs.
We already know that when we make a call to Microsoft Graph, we need to be able to make an API call that includes the endpoint, method, and any information needed to complete our request.
Regardless of your reasons, here are the ways to create such files in any modern version of Windows. You can find some small and free tools from internet do it. But in this post, we’ll show how to create them with PowerShell or PowerShell Core quickly.
All Windows versions since Vista include an executable named fsutil.exe. You can find it in the system folder. This is the native tool from Microsoft. So, we can use it with no risk.
In this post, we will show you how to refresh the Path environment variables without closing and reopening the PowerShell session. For example, we’ve a simple PowerShell script: