#SharePointProblems | Koskila.net

Solutions are worthless unless shared! Antti K. Koskela's Personal Professional Blog

Posts from June 2023

Blog posts published in June 2023

Posts from June 2023 (4)

  • Cover image for How to add AdditionalHeaders to Invoke-PnPGraphMethod?
    NEW
    Published on
    Authors
    koskila

    How to add AdditionalHeaders to Invoke-PnPGraphMethod?

    This article explains how to easily add additional headers to the Graph API calls you make in PowerShell using Invoke-PnPGraphMethod commandlet. There's a convenient sample for you to copy-paste and some basic explanations on what we're doing below. Background Every now and then, I need to make some Graph API calls from PowerShell. And there's a convenient PowerShell commandlet available to make it easy to do just that - Invoke-PnPGraphMethod.
  • Published on
    Authors
    koskila

    How to iterate through a collection of items in a Parallel Foreach loop in PowerShell?

    That's a mouthful, right? But yeah - this article shows and tells how to do a parallel foreach loop in PowerShell, and how to do it properly! Well, at least probably. This is how I did it anyway. But that's enough chitchat, let's get to it! Background In PowerShell, you can iterate through objects with a ForEach-Object loop like this: # Create an array of integers $items = 1..
  • Cover image for How to fix "yo : The term 'yo' is not recognized as the name of a cmdlet, function, script file, or operable program." error?
    Published on
    Authors
    koskila

    How to fix "yo : The term 'yo' is not recognized as the name of a cmdlet, function, script file, or operable program." error?

    This article explains what to do to get rid of an error that SEEMS simple to fix but might turn out to be elusive, namely, "The term 'yo' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again." Sounds simple, right? It might be. Read on to find out how I banged my head on the wall with this one!
  • Cover image for How to re-enable Bluetooth on your Windows device
    Published on
    Authors
    koskila

    How to re-enable Bluetooth on your Windows device

    This article explains (one way) how to re-enable Bluetooth on your Windows laptop, in case Windows has just forgotten you have a Bluetooth adapter in your pc. Which would be weird because I don't think any pcs ship without, anymore. Even Raspberry Pis have come with Bluetooth for years now. Anyway... What was the problem again?
Whitewater Magpie Ltd.
© 2026
Static Site Generation timestamp: 2026-02-03T09:01:56Z