Blog
Blog
Technical articles, tutorials, and insights on PowerShell, .NET, Active Directory, and enterprise IT automation.
Type to search across all blog posts.

PowerShell Core – The type initializer for Gdip threw an exception.
While working on PSWriteExcel on Ubuntu / Mac OS I’ve noticed that my -AutoFit method for ConvertTo-Excel was crashing. I couldn’t…

PSWinReporting – Forwarders, Microsoft Teams, Slack, Microsoft SQL and more
It’s been a while since PSWinReporting has been updated, or rather since I’ve written a blog post about it since it’s always…

PSWinDocumentation – Version 0.1 with Word / Excel export
A few weeks ago I’ve released my first version of PSWinDocumentation. It was simple, one command module where you start it and get some basic AD stuff into Microsoft Wor…

Install-Module : A parameter cannot be found that matches parameter name AllowPrerelease.
If Install-Module does not recognize -AllowPrerelease, the usual cause is an older PowerShellGet version rather than your PowerShell session itself.

Update-Module : Module ‘PowershellGet’ was not installed by using Install-Module, so it cannot be updated.
This PowerShellGet error usually means Windows is using the inbox module version, so you need to install a newer copy side by side instead of updating it in place.

PSWriteWord – Version 0.5.1
During last couple of weeks I’ve spent most of my time developing PSWinDocumentation project. While building that I’ve came across different…

PowerShellGallery – You are installing modules from an untrusted repository
Learn why PowerShell prompts that PSGallery is untrusted, how to mark it as trusted, and when you may want to leave that warning in place.

No account settings were returned from the Autodiscover response – Microsoft Exchange 2016
If Outlook Autodiscover fails for a single mailbox while OWA still works, check whether MAPI has been disabled on that mailbox before you assume a tenant-wide Exchange i…

Microsoft Exchange Approval Assistant – Your message couldn’t be delivered because delivery to this address is restricted to authenticated senders
While not being able to accept or deny messages in hybrid scenario was solved in earlier post, now that people could approve…

Not able to accept or deny messages sent to group in Exchange Hybrid Scenario
One of the functionalities in Microsoft Exchange for Distribution Groups (or mail-enabled groups for that matter) is ability to setup…