Sign in

Brian Kaiser

@bmkaiser.com
40 followers 124 following 57 posts

#PowerShell professional living in New England Website: bmkaiser.com GitHub: github.com/bmkaiser LinkedIn: linkedin.com/in/bmkaiser

PostsRepliesMedia
Brian Kaiser @bmkaiser.com · 18/08/2026
🚨 13 security vulnerabilites in .NET Core confirmed to also affect #PowerShell 7 with CVSS v3 severity scores ranging from 5.9 (Moderate) to 8.8 (High).
github.com
Issues · PowerShell/Announcements
PowerShell Team Announcements. Contribute to PowerShell/Announcements development by creating an account on GitHub.
001
Brian Kaiser @bmkaiser.com · 04/06/2026
Thanks to @samerde.day3bits.com for squashing this bug in his 🥒 DLLPickle module! Hopefully authentication library conflicts across so many #PowerShell modules will soon be a thing of the past 🤞
github.com
🪲 Bug report - Unable to Load Az.Resources · Issue #193 · SamErde/DLLPickle
Description When using DLLPickle, I'm unable to load the Az.Resources module (implicitly or lazily). I can load other Az modules such as Az.Accounts. Expected Behavior I would expect the Az.Resourc...
111
Brian Kaiser @bmkaiser.com · 04/06/2026
Thanks to the initial work by @mikefrobbins.com, my #PowerShell profile can now have conditional logic when its being run from within the new #Microsoft Intelligent Terminal #AI
gist.github.com
Add Terminal variables to distinguish between Windows Terminal and Intelligent Terminal
Add Terminal variables to distinguish between Windows Terminal and Intelligent Terminal - Add-TerminalVariables.ps1
021
Reposted by Brian Kaiser
Marc-André Moreau @awakecoding.com · 06/05/2026
New blog post series! 📰 Everything wrong with MSIX, starting with how it cannot be used in a system context, such as system services. This affects WinGet, PowerShell, and a lot of other software 👇💻 awakecoding.com/posts/everyt...
awakecoding.com
Everything Wrong with MSIX: No System Context
PowerShell's MSI deprecation exposes the problem with treating MSIX like a better MSI: user-registered packages can disappear from SYSTEM, breaking services, scheduled tasks, remoting, and automation.
1102
Brian Kaiser @bmkaiser.com · 01/05/2026
Awesome Copilot has a #PowerShell instructions file for use with #AI agents. Are there other ones available as well that are more comprehensive? For example, covering more of what's described by PSScriptAnalyzer or by the community?
awesome-copilot.github.com
Instructions
Coding standards and best practices for GitHub Copilot
010
Brian Kaiser @bmkaiser.com · 10/04/2026
Was anybody else using #AIShell before it was deprecated at the end of January? Will you be replacing it with another #AI powered chat tool that isn't project based (e.g., #Claude Code CLI, GitHub #Copilot CLI)? #PowerShell github.com/powershell/a...
Screenshot of the PowerShell/AIShell repository on GitHub's website with the message "This repository was archived by the owner on Jan 30, 2026. It is now read-only.
110
Brian Kaiser @bmkaiser.com · 09/04/2026
Thank you for this! I missed this part during the call. For the searches in the future: "We cannot extend 7.4 LTS support. We are bounded by .NET"
000
Brian Kaiser @bmkaiser.com · 02/04/2026
Does this delayed release have any impact on support timelines? Will 7.4 receive longer LTS support?
100
Brian Kaiser @bmkaiser.com · 24/03/2026
In the absence of another mechanism for querying the version information for the #Azure Connected Machine Agent, I am thankful for @kaidojarvemets.bsky.social and his post on how to retrieve this info using #PowerShell from the Release Notes page
kaidojarvemets.com
Retrieving the Azure Arc Agent Version with PowerShell
Automate the retrieval of the latest Azure Connected Machine agent version from the official release notes using PowerShell, ensuring your servers are updated.
010
Brian Kaiser @bmkaiser.com · 03/03/2026
With the announcement that Polyglot Notebooks is being retired at the end of March, I sure am thankful for @harmveenstra.bsky.social and his blog post on adding a custom PowerShell kernel for use with the Jupyter notebook extension in VS Code. aka.ms/pgnb-dep
powershellisfun.com
PowerShell is fun :)Jupyter notebooks in VSCode with PowerShell support
I saw a video about Jupyter in Visual Studio Code a while back and tried to get it up and running. It seems that things have changed now. It was there in VSCode preview versions and the PowerShell …
270
Brian Kaiser @bmkaiser.com · 27/02/2026
MSOnline has been retired since May 2025. Use Microsoft.Graph instead! Get-MgUser -All | ? { $uri = '/beta/users/{0}/authentication/signInPreferences' -f $_.Id -not ((Invoke-GraphRequest GET $uri).userPreferredMethodForSecondaryAuthentication) } Thanks to @lazyadmin-nl.bsky.social
lazyadmin.nl
Get MFA Status of Office 365 users with Microsoft Graph
Get MFA Status of your Office 365 users with PowerShell and Microsoft Graph. Export all details easily to Excel with this free script
010
Brian Kaiser @bmkaiser.com · 08/01/2026
I think it's this one: icons8.com/icon/Yl9ip6C...
icons8.com
Github Copilot icon in Windows 11 Color Style
Download Github Copilot vector icon in Windows 11 Color style. Available in png, svg, pdf, html code. Modify, resize, recolor Github Copilot icon, symbol.
010
Brian Kaiser @bmkaiser.com · 08/01/2026
Where did you get your background image from?
000
Brian Kaiser @bmkaiser.com · 16/12/2025
If someone is using $PSBoundParameters outside of the script (such as within their Profile) to enable -UseBasicParameters by default, that would not appear in the report, correct?
100
Reposted by Brian Kaiser
Matthew Dowst @mdowst.dowst.dev · 11/12/2025
🚨 Breaking change in Invoke-WebRequest that could impact your automations. I wrote a helper script to find where Invoke-WebRequest is and isn't using -UseBasicParsing. It also works for any other cmdlets/parameters combo. gist.github.com/mdowst/9d00f... #PowerShell #Automation #Scripting #DevOps
2105
Brian Kaiser @bmkaiser.com · 10/06/2025
Thank you! I'll take a look along with creating my own Plaster template. github.com/jimbrig/PSSt...
github.com
GitHub - jimbrig/PSStucco: An opinionated Plaster template for high-quality PowerShell modules
An opinionated Plaster template for high-quality PowerShell modules - jimbrig/PSStucco
010
Brian Kaiser @bmkaiser.com · 10/06/2025
I see that you have also used Stucco in the past. Do you still like that tool? Are there things you don't like about it? gilbertsanchez.com/posts/stucco...
gilbertsanchez.com
Using Stucco to Create Your PowerShell Module
Learn why Stucco is such a powerfull module template. Includes a walk through from creating a module to publishing to the PowerShell Gallery!
100
Brian Kaiser @bmkaiser.com · 09/06/2025
Also, is everything just built on top of Plaster?
100
Brian Kaiser @bmkaiser.com · 09/06/2025
What are you using for #PowerShell module scaffolding? Seems that most tools that I have found are in need of some TLC. What am I missing?
121
Reposted by Brian Kaiser
Josh King @toastit.dev · 13/04/2025
If you're looking for some truly amazing humans from the #PowerShell community to follow, @dougfinke.bsky.social has been doing work curating a handy list: clearsky.app/dougfinke.bs...
clearsky.app
ClearSky
ClearSky - See farther
4161
Brian Kaiser @bmkaiser.com · 11/04/2025
In case you're curious, this was the post in question:
reddit.com
Losing my mind please help!
000
Brian Kaiser @bmkaiser.com · 11/04/2025
The internet is really great sometimes 💖 Thanks to @jsnover.com on Reddit 10 years ago, I was able to solve a #PowerShell problem while following @kevmar.bsky.social amazing article on handling errors that now lives on #MicrosoftLearn 🤯 learn.microsoft.com/en-us/powers...
A screenshot of a Reddit post comment by /u/jsnover that says:

This seems to be telling you that $PSCMdlet is null. That would happen if you are using a function vs an Advanced Function

Try adding a [CmdletBinding()] directive.

Jeffrey Snover [MSFT]
140
Reposted by Brian Kaiser
Brickset @brickset.com · 02/04/2025
We’ve taken a look at #LEGO 40761 The Lord of the Rings: Sméagol & Déagol which is currently a free gift with purchases of 10354: The Shire! brickset.com/article/1202...
brickset.com
LEGO 40761 The Lord of the Rings: Sméagol & Déagol review
The Lord of the Rings: Return of the King opens with a scene showing Gollum's origin as a Stoor Hobbit named Sméagol, residing in the Gladden Fields with his cousin, Déagol. Déagol famously discovers ...
052
Brian Kaiser @bmkaiser.com · 02/04/2025
Along with all of today’s #Switch2 excitement, it’s also the first day to order this amazing #Hobbit set from #LEGO for Insiders! Orders before Apr. 8 also get the #LotR Sméagol & Déagol mini set discovering The One Ring
youtu.be
LEGO Lord of the Rings - Official Mini Movie (feat. Sean Astin)
YouTube video by IGN
000
Brian Kaiser @bmkaiser.com · 02/04/2025
New features coming to #BotW and #TotK on #Nintendo #Switch2! Includes #Zelda Notes to help find a shrines and Korok seeds and Autobuild blueprints sharing!!
youtu.be
The Legend of Zelda games – Nintendo Switch 2 Editions & ZELDA NOTES – Overview Trailer
YouTube video by Nintendo of America
020
Reposted by Brian Kaiser
Nintendo of America [Twitter/X Mirror] @nintendoamericax.bsky.social · 02/04/2025
amiibo figures of Tulin, Yunobo, Riju and Sidon from The Legend of #Zelda: #TearsOfTheKingdom are releasing on June 5! Each one can unlock a fabric for Link’s paraglider, as well as weapons and materials for your adventure.
10665119
Brian Kaiser @bmkaiser.com · 02/04/2025
Pre-order registration is available for #Nintendo #Switch2 for those “[…]who have purchased a Nintendo Switch Online membership with a minimum of 12 months of paid membership and a minimum of 50 total gameplay hours, as of April 2, 2025”
nintendo.com
Nintendo Switch 2: How To Buy
The countdown for the Nintendo Switch 2 has begun! Learn how to purchase from the My Nintendo Store, explore gaming system options, and secure your reservation today.
010
Brian Kaiser @bmkaiser.com · 31/03/2025
I love newer versions of #PowerShell, but I still regularly have to support #Windows PowerShell because that's the default shell for systems like #SCCM and #Intune. How can I take advantage of the new PowerShell other than executing scripts with pwsh.exe and the -File or -Command parameters?
000
Brian Kaiser @bmkaiser.com · 19/03/2025
I regularly use .cmd files as a simpler execution mechanism for PowerShell scripts. They simply call powershell.exe with the -File parameter (plus any other params). Many people know how to double-click a file, but don’t know how to execute a PowerShell script with & or .
010
Brian Kaiser @bmkaiser.com · 14/03/2025
A really useful article (and quick read) on how to get started with .NET within your #PowerShell scripts including how to decipher the defintions. Thank you @alexandair.bsky.social and @tobiaspsp.bsky.social!!
scriptrunner.com
Integrating .NET with PowerShell: Best Practices for Enhanced Scripting
Learn how to effectively integrate .NET classes and methods within PowerShell scripts. Discover best practices to enhance functionality, maintainability, and performance.
030
Brian Kaiser @bmkaiser.com · 21/02/2025
Using hashtables for lookups is so useful and quick! I've made one before matching human-readable names with object IDs in Microsoft Graph
010
Brian Kaiser @bmkaiser.com · 18/02/2025
That was my guess too, but it doesn’t appear so
000
Brian Kaiser @bmkaiser.com · 18/02/2025
Does anyone know how to get the access token that's in use with the Microsoft.Graph #PowerShell module?
100
Brian Kaiser @bmkaiser.com · 11/02/2025
Agreed. “May not be set” reads as “cannot be set”
000
Brian Kaiser @bmkaiser.com · 10/02/2025
You're not alone! I've just come across this incorrect error message as well with 3.7.1 🙃
010
Brian Kaiser @bmkaiser.com · 07/02/2025
Why do I have issues using the #Exchange Online #PowerShell module (v3.7.1) when I use a wildcard for the cmdlet within $PSDefaultParameterValues? I'm able to connect, but my permission scopes are wrong and I can only see my own mailbox.
gist.github.com
Issues with Connect-ExchangeOnline when Using $PSDefaultParameterValues
Issues with Connect-ExchangeOnline when Using $PSDefaultParameterValues - PSDefaultParamsWithConnectEXO.ps1
000
Brian Kaiser @bmkaiser.com · 06/02/2025
What makes it unreliable? What is auto-splat?
100
Brian Kaiser @bmkaiser.com · 06/02/2025
Nice to see both WAM supported and native Git blame!
000
Brian Kaiser @bmkaiser.com · 06/02/2025
How things are feeling these days with #PowerShell and #MicrosoftGraph
media.tenor.com
a group of people sitting in a theater with the words so hot right now written on the bottom
Alt: A group of people from the film Zoolander sitting in a theater with the words “so hot right now” written on the bottom
030
Brian Kaiser @bmkaiser.com · 05/02/2025
Love the podcast!! I can see how that would get priority (especially if you’re the one managing it all). I joined the PDQ Discord, so maybe I’ll be able to join next time
110
Brian Kaiser @bmkaiser.com · 05/02/2025
I didn't realize that you can do that in PowerShell 7! I prefer this method (reminds me of KQL) and looks cleaner. Just to confirm, in PowerShell 7+: Get-Date | Select-Object date | Out-String All versions: Get-Date | Select-Object date | Out-String
140
Brian Kaiser @bmkaiser.com · 05/02/2025
Same! This seems like a great one! Any chance these can be recorded and posted for others?
130
Brian Kaiser @bmkaiser.com · 05/02/2025
@funbucket.dev is it possible to use PSHelp.Copilot for large modules like Az or Microsoft Graph without having to specify each of their dependent modules? I’d like to be able to ask questions that might span more than one of the smaller modules
100
Brian Kaiser @bmkaiser.com · 05/02/2025
"If you type help, PowerShell first looks for an alias named help, then a function named Help, and finally a cmdlet named Help. It runs the first help item that it finds. If your session contains a cmdlet and a function, both named Get-Map, when you type Get-Map, PowerShell runs the function."
010
Brian Kaiser @bmkaiser.com · 05/02/2025
It's not a new resource, but in the battle against using backticks for line breaks in #PowerShell, I find this guide on natural line continuation characters by @markekraus.com to be the de facto source
get-powershellblog.blogspot.com
Bye Bye Backtick: Natural Line Continuations in PowerShell
Intro PowerShell is a language which lends itself to lengthy lines of code. Recommended Best Practice (RBP) is that functions and cmdlets al...
163
Brian Kaiser @bmkaiser.com · 04/02/2025
When in doubt, RTFM
000
Brian Kaiser @bmkaiser.com · 04/02/2025
2025 is going to be the year where I learn Pester! I'm starting with PSKoans and the #PesterBook by @adbertram.bsky.social. Are there other resources that helped you with learning this #PowerShell framework?
github.com
GitHub - vexx32/PSKoans: A simple, fun, and interactive way to learn the PowerShell language through Pester unit testing.
A simple, fun, and interactive way to learn the PowerShell language through Pester unit testing. - vexx32/PSKoans
120
Brian Kaiser @bmkaiser.com · 04/02/2025
That's great news! (for both the module and for #PowerShellSummit)
000
Brian Kaiser @bmkaiser.com · 03/02/2025
@posh.guru what would the lift be to remove the dependency on Microsoft.Graph.DeviceManagement.Enrolment (single “ehl”) and replace with Microsoft.Graph.DeviceManagement.Enrollment (double “ehl”)? It looks like the former module is no longer supported and is stuck at version 1.28.0
100
Brian Kaiser @bmkaiser.com · 03/02/2025
If you're looking for a simple, modern, and interactive #PowerShell module to help you with activating your #Entra PIM roles, I have personally found Graph.EasyPIM by @rakhesh.com to be a solid choice!!
rakhesh.com
My PowerShell module to enable Entra ID PIM roles as a user
In a similar vein to my previous module, I spent the weekend creating something for Entra ID PIM roles. More details on the GitHub page (too lazy to put the same screenshots here too; and this way …
120