Skip to content

  • Home
  • Blog
  • Linux
  • macOS
  • Virtualization
    • VMware
    • VirtualBox
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server
  • Series
    • Symantec
    • Intune
    • Microsoft Azure
    • Powershell
    • VirtualBox
    • VMware
    • PowerShell Learning
    • Microsoft Graph
  • Contact
Home›Powershell

Powershell

172 articles

In-depth guides, tutorials and how-tos on Powershell.

How to Fix PowerShell GUI Freezes when Running

January 19, 2024November 8, 2023by bon
Ftr38

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. 

Categories Blog, Powershell, PowerShell WinForms, PowerShell with WPFLeave a comment

Converting DateTime Obtained from Microsoft Graph Call to PowerShell Date and Time Format

July 7, 2026October 21, 2023by bon
Ftr21

We have a PowerShell script where we perform the call to get the renewal date of a Microsoft 365 subscription with Microsoft Graph API.

Categories Blog, Microsoft Graph, PowershellLeave a comment

How to Get Microsoft 365 License Expiration Dates using Graph Api

December 16, 2023October 20, 2023by bon
Ftr21

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.

Categories Blog, Microsoft Graph, PowershellLeave a comment

Translate Microsoft 365 License GUIDs to Product Names in PowerShell Microsoft Graph

June 6, 2024October 19, 2023by bon
Ftr21

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?

Categories Blog, Microsoft Graph, PowershellLeave a comment

How to Get an Access Token for Microsoft Graph PowerShell / API

November 27, 2023October 17, 2023by bon
Ftr21

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

Categories Blog, Microsoft Graph, PowershellLeave a comment

Comparing Invoke-RestMethod to the Microsoft Graph PowerShell SDK

June 6, 2024October 15, 2023by bon
Ftr21

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.

Categories Blog, Microsoft Graph, PowershellLeave a comment

How to Use Splatting with Invoke-RestMethod in Graph PowerShell

October 6, 2023October 6, 2023by bon
Ftr21

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.

Categories Blog, Microsoft Graph, PowershellLeave a comment

How to Create a Dummy File of Any Size with PowerShell

June 14, 2024October 3, 2023by bon
Ftr38

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.

Categories Blog, PowershellLeave a comment

How to Generate Large Files using PowerShell

August 19, 2024October 2, 2023by bon
Ftr38

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.

Categories Blog, A, PowershellLeave a comment

How to Refresh Environment Variables in PowerShell without Close then Reopen

July 26, 2024September 29, 2023by bon
Ftr38

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:

Categories Blog, A, Powershell1 Comment
Older posts
Newer posts
← PreviousPage1…Page4Page5Page6…Page18Next →

Recent Posts

  • Partner email not reaching the mailbox in Microsoft 365 — causes and fixes
  • How To Upgrade Windows Server Evaluation To Full Version
  • Must Have Remediation Scripts In Microsoft Intune
  • How To Turn On uBlock Origin Extension in Chrome (2025)
  • Azure OpenAI vs Azure AI Hub, How to Choose the Right One for Your Needs

Explore 1,200+ free IT guides

New tutorials, scripts and how-to’s every week — no signup, no paywall.

Browse the Blog →
BonGuides

In-depth guides on software, digital tools and tech tips — clear, practical, and completely free.

Topics

  • Blog1183
  • Powershell172
  • Linux153
  • Microsoft Office110
  • Windows 1195
  • All posts

Explore

  • Home
  • Latest posts
  • RSS feed
  • Scripts on GitHub ↗

Information

  • Contact
  • Privacy Policy
  • Terms & Conditions
  • Sitemap
© 2026 BonGuides. All rights reserved.
↑↓ navigate↵ openEsc close