Frode

@frodeflaten.com

PowerShell enthusiast from Norway. All opinions are mine.

Pester 6.1.0-alpha2 has global mocks, this solves headaches with -ModuleName. -ModuleName is now needed only when the function is not public to tell us where to find it. github.com/pester/Peste... Please try switching using it on your test base, and report issues. #pspester #powershell

Add experimental global mocks by nohwnd · Pull Request #2850 · pester/Pester

A normal mock only applies to calls from the scope where it is defined, or from the module you pass with -ModuleName. Code in another module looks the command up in its own session state and never ...

github.com

Wow. Deleting a empty #azure tenant fails for no clear reason. Getting help requires a paid support plan and a subscription which will definitely block tenant deletion (no sub prereq). Make it make sense. 🤦‍♂️ Imagine having to invoke GDPR laws to use a product feature, the Delete-button.

Pester 6.0.0-rc1 🎉 Feature-complete! ⚡ Parallel test execution (experimental) 🆕 New Should-* syntax + 41 assertions 🔬 Should-BeEquivalent deep comparison 📊 Faster coverage by default 160+ PRs · 15 contributors #PowerShell #pspester

I'm staring at a single 👻 OU in #ActiveDirectory that lists child OUs sorted by USNCreated. Everything else is sorted by name as expected. It occurs in both ADUC, LDAP and ADWS. What did someone break and how do I fix it? 😅 (Recreating the OU it is not an option, I want to learn the magic spell)

I just published my first #vscode extension 🎉 marketplace.visualstudio.com/items?itemNa... 5 minutes of blindly configuring a Windows Sandbox resulted in a few hours adding schema validation, completions and syntax highlighting. And a few more learning how to publish extensions... 🙂

Windows Sandbox Configuration - Visual Studio Marketplace

Extension for Visual Studio Code - Support for authoring configuration files for Windows Sandbox (*.wsb)

marketplace.visualstudio.com

I slapped together a new #PowerShell module, PesterExplorer, that creates a TUI to look at your Pester run results. It leverages PwshSpectreConsole to create the TUI. Everyone knows I love #Pester. Feedback and suggestions welcome! github.com/HeyItsGil...

GitHub - HeyItsGilbert/PesterExplorer: A TUI to explore Pester results.

A TUI to explore Pester results. Contribute to HeyItsGilbert/PesterExplorer development by creating an account on GitHub.

github.com

Looking for tips and resources to writing content, primarily blog articles. Will focus on technology topics. Humor or not, tone and language, 1st vs 3rd person, things to avoid etc. Any recommendations?

Note to self: X test locations = X executions per interval. This naive user just spent $10 on a silly URL test in #Azure. 😄 That explains why MS pushes 5 or more locations.

Bild