<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Blog</title><link>https://evotec.xyz/blog</link><description>Technical articles, tutorials, and insights on PowerShell, .NET, Active Directory, and enterprise IT automation.</description><atom:link href="https://evotec.xyz/blog/index.xml" rel="self" type="application/rss+xml" /><item><title>Supercharging Your Network Diagnostics with Globalping for NET</title><link>https://evotec.xyz/blog/supercharging-your-network-diagnostics-with-globalping-for-net</link><description>Ever wondered how to run network diagnostics like Ping, Traceroute, or DNS queries from probes scattered across the globe? Enter Globalping.NET, a powerful library that makes it effortless to interact with the Globalping API using C#. Whether you’re debugging latency issues or exploring packet routes, this library has you covered.</description><pubDate>Sun, 15 Jun 2025 19:52:52 GMT</pubDate><guid>https://evotec.xyz/blog/supercharging-your-network-diagnostics-with-globalping-for-net</guid><category>.NET Products</category><category>csharp</category><category>globalping</category><category>library</category></item><item><title>Automating Network Diagnostics with Globalping PowerShell Module</title><link>https://evotec.xyz/blog/automating-network-diagnostics-with-globalping-powershell-module</link><description>Are you tired of manually running network diagnostics like Ping, Traceroute, or DNS queries? The Globalping PowerShell Module is here to save the day! With its easy-to-use cmdlets, you can automate measurements from probes distributed across the globe.</description><pubDate>Sun, 15 Jun 2025 19:52:50 GMT</pubDate><guid>https://evotec.xyz/blog/automating-network-diagnostics-with-globalping-powershell-module</guid><category>PowerShell</category></item><item><title>Enhanced Dashboards with PSWriteHTML – Introducing InfoCards and Density Options</title><link>https://evotec.xyz/blog/enhanced-dashboards-with-pswritehtml-introducing-infocards-and-density-options</link><description>Discover new features in the PSWriteHTML PowerShell module – including New-HTMLInfoCard, improved layout controls with the -Density parameter, and customizable shadows for clean, modern dashboards and reports.</description><pubDate>Wed, 04 Jun 2025 13:54:28 GMT</pubDate><guid>https://evotec.xyz/blog/enhanced-dashboards-with-pswritehtml-introducing-infocards-and-density-options</guid><category>css</category><category>html</category><category>js</category><category>PowerShell</category><category>pswritehtml</category><category>reporting</category></item><item><title>Mastering Active Directory Hygiene: Automating SIDHistory Cleanup with CleanupMonster</title><link>https://evotec.xyz/blog/mastering-active-directory-hygiene-automating-sidhistory-cleanup-with-cleanupmonster</link><description>Security Identifier (SID) History is a useful mechanism in Active Directory (AD) migrations. It allows users and groups in a new domain to retain access to resources that still rely on permissions from the old domain. However, once migrations are completed, these historical SIDs can become clutter, posing both security and administrative challenges. While it’s best to remove unnecessary SID History as soon as you’re done migrating, many environments skip this step. Over time, decommissioned or broken trusts make cleanup more difficult, and domain objects can accrue so many old entries that you lose track of what is still required.</description><pubDate>Sun, 16 Mar 2025 18:47:45 GMT</pubDate><guid>https://evotec.xyz/blog/mastering-active-directory-hygiene-automating-sidhistory-cleanup-with-cleanupmonster</guid><category>Active Directory</category><category>activedirectory</category><category>cleanup</category><category>powershell</category></item><item><title>Upgrade Azure Active Directory Connect fails with unexpected error</title><link>https://evotec.xyz/blog/upgrade-azure-active-directory-connect-fails-with-unexpected-error</link><description>Today, I made the decision to upgrade my test environment and update the version of Azure AD Connect to the latest one. The process is usually simple: download a new MSI, run it, click next a few times, enter the credentials for your Global Admin, and you’re finished. However, this time, I encountered an error.</description><pubDate>Wed, 02 Oct 2024 12:17:34 GMT</pubDate><guid>https://evotec.xyz/blog/upgrade-azure-active-directory-connect-fails-with-unexpected-error</guid><category>azure ad</category><category>azure adconnect</category><category>error</category><category>errors</category><category>Office 365</category><category>office365</category></item><item><title>Mastering Active Directory Hygiene: Automating Stale Computer Cleanup with CleanupMonster</title><link>https://evotec.xyz/blog/mastering-active-directory-hygiene-automating-stale-computer-cleanup-with-cleanupmonster</link><description>Have you ever looked at your Active Directory and wondered, “Why do I still have computers listed that haven’t been turned on since World Cup 2016?” Yeah, we’ve all been there. Keeping AD clean and up-to-date is like trying to organize your garage—it’s easy to put off until it becomes a total mess.</description><pubDate>Sun, 25 Aug 2024 13:14:39 GMT</pubDate><guid>https://evotec.xyz/blog/mastering-active-directory-hygiene-automating-stale-computer-cleanup-with-cleanupmonster</guid><category>active directory</category><category>ad</category><category>cleanup</category><category>intune</category><category>microsoft entra</category><category>powershell</category></item><item><title>Active Directory Replication Summary to your Email or Microsoft Teams</title><link>https://evotec.xyz/blog/active-directory-replication-summary-to-your-email</link><description>Active Directory replication is a critical process that ensures the consistent and up-to-date state of directory information across all domain controllers in a domain. Monitoring this process is important as it helps identify any issues that may arise and resolve them quickly. One way to monitor Active Directory replication is by using the Repadmin command-line tool. Repadmin provides a wealth of information about the replication status and health of a domain. However, manually checking the Repadmin output can be time-consuming and tedious, and running it manually every 30 minutes just to check if everything is great doesn’t seem like a great idea. While PowerShell has its own commands around replication I’ve not found something as fast and reliable as repadmin /replsummary.</description><pubDate>Wed, 17 Apr 2024 19:25:32 GMT</pubDate><guid>https://evotec.xyz/blog/active-directory-replication-summary-to-your-email</guid><category>active directory</category><category>powershell</category><category>replication</category></item><item><title>Syncing Global Address List (GAL) to personal contacts and between Office 365 tenants with PowerShell</title><link>https://evotec.xyz/blog/syncing-global-address-list-gal-to-personal-contacts-and-between-office-365-tenants-with-powershell</link><description>Hey there! Today, I wanted to introduce you to one of the small but excellent module I’ve created called the O365Synchronizer. This module focuses on synchronizing contacts and users. If you’ve ever been tasked with synchronizing Global Address Lists (GAL) across different Office 365 tenants or just wanted to sync GAL with user mailboxes so they can access contacts directly on their phones, this tool is for you.</description><pubDate>Sun, 03 Dec 2023 16:32:13 GMT</pubDate><guid>https://evotec.xyz/blog/syncing-global-address-list-gal-to-personal-contacts-and-between-office-365-tenants-with-powershell</guid><category>api</category><category>exchange</category><category>microsoft graph</category><category>office 365</category><category>powershell</category></item><item><title>Active Directory Health Check using Microsoft Entra Connect Health Service</title><link>https://evotec.xyz/blog/active-directory-health-check-using-microsoft-entra-connect-health-service</link><description>Active Directory (AD) is crucial in managing identities and resources within an organization. Ensuring its health is pivotal for the seamless operation of various services. Today, I decided to look at Microsoft Entra Connect Health (Azure AD Connect Health) service, which allows monitoring Azure AD Connect, ADFS, and Active Directory. This means that under a single umbrella, you can have an overview of three services health. But is it worth it?</description><pubDate>Sun, 08 Oct 2023 14:36:57 GMT</pubDate><guid>https://evotec.xyz/blog/active-directory-health-check-using-microsoft-entra-connect-health-service</guid><category>Active Directory</category><category>Azure</category><category>azure ad</category><category>health checks</category><category>microsoft entra</category><category>powershell</category></item><item><title>Seamless HTML Report Creation: Harness the Power of Markdown with PSWriteHTML PowerShell Module</title><link>https://evotec.xyz/blog/unlocking-seamless-html-report-creation-harness-the-power-of-markdown-with-pswritehtml-powershell-module</link><description>In today’s digital age, the ability to create compelling and informative HTML reports and documents is a crucial skill for professionals in various fields. Whether you’re a data analyst, a system administrator, a developer, or simply someone who wants to present information in an organized and visually appealing manner, having the right tools at your disposal can make all the difference. That’s where the PSWriteHTML PowerShell module steps in, offering an array of possibilities to suit your reporting needs.</description><pubDate>Sun, 03 Sep 2023 16:59:27 GMT</pubDate><guid>https://evotec.xyz/blog/unlocking-seamless-html-report-creation-harness-the-power-of-markdown-with-pswritehtml-powershell-module</guid><category>css</category><category>html</category><category>markdown</category><category>powershell</category><category>powershell module</category><category>pswritehtml</category></item><item><title>How to Efficiently Remove Comments from Your PowerShell Script</title><link>https://evotec.xyz/blog/how-to-efficiently-remove-comments-from-your-powershell-script</link><description>As part of my daily development, I create lots of code that I subsequently comment on and leave to ensure I understand what I tried, what worked, and what didn’t. This is my usual method of solving a problem. Sure, I could commit it to git and then look it up, and I do that, but that doesn’t change my behavior where I happen to have lots of “junk” inside of my functions that stay commented out. While this works for me, and I’ve accepted this as part of my process, I don’t believe this should be part of the production code on PowerShellGallery or when the code is deployed.</description><pubDate>Sun, 20 Aug 2023 15:43:09 GMT</pubDate><guid>https://evotec.xyz/blog/how-to-efficiently-remove-comments-from-your-powershell-script</guid><category>cleanup</category><category>comment</category><category>powershell</category><category>remove</category><category>script</category></item><item><title>Unlocking PowerShell Magic: Different Approach to Creating ‘Empty’ PSCustomObjects</title><link>https://evotec.xyz/blog/unlocking-powershell-magic-different-approach-to-creating-empty-pscustomobjects</link><description>Today I saw an article from Christian Ritter, “PowerShell: Creating an “empty” PSCustomObject” on X that got me curious. Do people create empty objects like Christian proposes? I want to offer an alternative to Christian’s article, which uses OrderedDictionary and converts to PSCustomObject.</description><pubDate>Thu, 10 Aug 2023 09:27:32 GMT</pubDate><guid>https://evotec.xyz/blog/unlocking-powershell-magic-different-approach-to-creating-empty-pscustomobjects</guid><category>conversion</category><category>hashtable</category><category>ordereddictionary</category><category>powershell</category><category>pscustomobject</category></item><item><title>Report Active Directory Accounts that are Synchronized with Azure AD</title><link>https://evotec.xyz/blog/report-active-directory-accounts-that-are-synchronized-with-azure-ad</link><description>I was scrolling X (aka Twitter) today and saw this blog post, “PowerShell: Report On-Premises Active Directory Accounts that are Synchronized with Azure AD Connect” by Kevin Trent. I like reading blog posts as I tend to learn some new things and see how people tend to solve their problems.</description><pubDate>Mon, 07 Aug 2023 13:21:18 GMT</pubDate><guid>https://evotec.xyz/blog/report-active-directory-accounts-that-are-synchronized-with-azure-ad</guid><category>active directory</category><category>ad</category><category>azure ad</category><category>microsoft graph</category><category>powershell</category></item><item><title>Function cannot be created because function capacity 4096 has been exceeded for this scope</title><link>https://evotec.xyz/blog/function-cannot-be-created-because-function-capacity-4096-has-been-exceeded-for-this-scope</link><description>I had a long day today when my long-running script (10 hours) gave me weird errors with Microsoft Graph for Teams. Finally, I solved my mistakes and reran the hand to see if the report would be complete this time. Surprisingly, it gave me an error I’d never seen before. “Function cannot be created because function capacity 4096 has been exceeded for this scope”. The error is at least weird because it’s shown on a production server where I’ve just a handful of PowerShell modules installed, and I’ve never seen it on my development machine where I’ve over 200 modules.</description><pubDate>Tue, 01 Aug 2023 06:22:34 GMT</pubDate><guid>https://evotec.xyz/blog/function-cannot-be-created-because-function-capacity-4096-has-been-exceeded-for-this-scope</guid><category>aliases</category><category>errors</category><category>functions</category><category>limits</category><category>powershell</category><category>windows powershell</category></item><item><title>Connect-MgGraph: Keyset does not exist</title><link>https://evotec.xyz/blog/connect-mggraph-keyset-does-not-exist</link><description>I had this little issue today when I tried to schedule the Microsoft Graph script to run as a service account on a certificate. To my surprise, even tho I had all permissions required, I was getting this error message: Connect-MgGraph: Keyset does not exist. Something that didn’t show up for my user.</description><pubDate>Thu, 20 Jul 2023 07:07:41 GMT</pubDate><guid>https://evotec.xyz/blog/connect-mggraph-keyset-does-not-exist</guid><category>connet-mggraph</category><category>graph</category><category>graph-sdk</category><category>microsoft graph</category><category>powershell</category></item><item><title>Strengthening Password Security in Active Directory: A PowerShell-Powered Approach</title><link>https://evotec.xyz/blog/strengthening-password-security-in-active-directory-a-powershell-powered-approach</link><description>PasswordSolution uses the DSInternals PowerShell module to gather Active Directory hashes and then combines that data into a prettified report. If you have ever used DSInternals, you know that while very powerful, it comes with raw data that is hard to process and requires some skills to get it into a state that can be shown to management or security.</description><pubDate>Sun, 28 May 2023 14:40:25 GMT</pubDate><guid>https://evotec.xyz/blog/strengthening-password-security-in-active-directory-a-powershell-powered-approach</guid><category>active directory</category><category>ad</category><category>dsinternals</category><category>html</category><category>password quality</category><category>passwordsolution</category><category>powershell</category><category>scan</category><category>security</category><category>Windows</category></item><item><title>Track Ubiquiti Unifi Stock, and get notified of changes</title><link>https://evotec.xyz/blog/simplify-notifications-about-ubiquiti-unifi-stock</link><description>I am a pretty big fan of Ubiquiti and their Unifi products line. Whether it’s network equipment or their camera systems, Unifi Protect, I have it all, and I’m pretty happy with how it works. However, over the last two years, some of their stocks in the store were very hard to find. For example, I’ve searched for Unifi Protect G4 Doorbell Pro for over six months. I’ve tried local shops all around Europe, even in the Ubiquiti Europe store, to never found any of them.</description><pubDate>Sun, 16 Apr 2023 15:04:57 GMT</pubDate><guid>https://evotec.xyz/blog/simplify-notifications-about-ubiquiti-unifi-stock</guid><category>notifications</category><category>powershell</category><category>stock</category><category>tracker</category><category>ubiquiti</category><category>unifi</category><category>windows</category></item><item><title>Free Microsoft Azure/Office365 Fundamentals Training starting February 6th 2023</title><link>https://evotec.xyz/blog/microsoft-fundamental-free-training-starting-february-6th-2023</link><description>Being a Microsoft MVP has quite a few benefits. You get to be part of unique offers that help you enhance your knowledge even further. Microsoft Learning team decided to provide free training on Microsoft Fundamentals for MVPs and the Microsoft community, so I’m sharing this with you! Starting next week, Microsoft will run each activity from 9 AM to 5 PM Eastern Standard Time (EST) or 15:00 to 23:00 in Europe (CET).</description><pubDate>Sat, 04 Feb 2023 10:03:56 GMT</pubDate><guid>https://evotec.xyz/blog/microsoft-fundamental-free-training-starting-february-6th-2023</guid><category>azure</category><category>free</category><category>o365</category><category>office 365</category><category>training</category></item><item><title>Upload and Download files from Azure Blob Storage using Connection String</title><link>https://evotec.xyz/blog/upload-and-download-files-from-azure-blob-storage-using-connection-string</link><description>They say there is a first time for everything. For me, it’s how to download and upload files to Azure Blog Storage using Connection String. Recently I was given Connection String, Container name and had to download some files from Azur Blog Storage. After some research and trying Connect-AzAccount, I found that the proper way to go is thru New-AzStorageContext.</description><pubDate>Wed, 18 Jan 2023 19:13:24 GMT</pubDate><guid>https://evotec.xyz/blog/upload-and-download-files-from-azure-blob-storage-using-connection-string</guid><category>az.storage</category><category>azure ad</category><category>azure blob storage</category><category>download</category><category>powershell</category><category>upload</category></item><item><title>PowerBGInfo – PowerShell alternative to Sysinternals BGInfo</title><link>https://evotec.xyz/blog/powerbginfo-powershell-alternative-to-sysinternals-bginfo</link><description>When I created ImagePlayground, I thought about how to show its usefulness to the general community. On how to deliver what PowerShell can do. Then I saw on some forum people asking BGInfo to expand and allow running PowerShell scripts so that the data on the BGInfo Wallpaper can be gathered from PowerShell rather than VBS. I thought this was a great idea to create BGInfo using PowerShell without the necessity of using BGInfo at all.</description><pubDate>Sun, 01 Jan 2023 15:51:00 GMT</pubDate><guid>https://evotec.xyz/blog/powerbginfo-powershell-alternative-to-sysinternals-bginfo</guid><category>bginfo</category><category>desktop manager</category><category>module</category><category>powerbginfo</category><category>powershell</category><category>wallpaper</category><category>windows</category></item><item><title>Image Manipulation, Image Resize, Image Combine and more with PowerShell</title><link>https://evotec.xyz/blog/image-manipulation-image-resize-image-combine-and-more-with-powershell</link><description>ImagePlayground is a PowerShell module that works in PowerShell 5.1 and PowerShell 7+. It works partially on Linux and should work on macOS, except for charts. That means it’s partially cross-platform, but the end goal is to make it work fully on all platforms. So what can this module do?</description><pubDate>Sun, 01 Jan 2023 15:50:41 GMT</pubDate><guid>https://evotec.xyz/blog/image-manipulation-image-resize-image-combine-and-more-with-powershell</guid><category>.net</category><category>.NET Products</category><category>bar code</category><category>combine</category><category>convert</category><category>exif data</category><category>grayscale</category><category>image</category><category>image manipulation</category><category>linux</category><category>macos</category><category>net core</category><category>net framework</category><category>net standard</category><category>powershell</category><category>qr code</category><category>watermark</category><category>xplat</category></item><item><title>Easy way to send emails using Microsoft Graph API (Office 365) with PowerShell</title><link>https://evotec.xyz/blog/easy-way-to-send-emails-using-microsoft-graph-api-office-365-with-powershell</link><description>When you’re using Office 365 and want to send an email, you have two choices SMTP or Microsoft Graph API, which is a “new” kid on the block. For some time, I’ve used Microsoft Graph exclusively to send emails in favor of SMTP as it’s much easier to manage and generally works over HTTPS. If you type in google “Send email graph API PowerShell,” you will get lots of hits as bloggers, and Microsoft has already covered this topic. It’s even more critical than ever because Basic Authentication is deprecated in Office 365. To help out with the transition, Microsoft even released its PowerShell module. With Send-MgUserMail proposed as a way to send emails via Graph API, you will notice it’s far from being easy &amp; user-friendly. Over two years ago, I released a PowerShell module called Mailozaurr (some people may not like my modules’ naming – but that’s how I roll!). In a blog post, Mailozaurr – New mail toolkit (SMTP, IMAP, POP3) with support for oAuth 2.0 and GraphApi for PowerShell, I’ve shown a basic functionality on how to send emails using SMTP OAuth 2.0 or Graph API, which aims to be drag &amp; drop replacement over Send-MailMessage and is supposed to be as simple as possible to send an email with a low effort and high readability. You can also read on sending emails using Graph API by Tony Redmond in his blog post Moving on from Send-MailMessage: Sending Email from PowerShell using the Graph API.</description><pubDate>Sun, 09 Oct 2022 13:27:27 GMT</pubDate><guid>https://evotec.xyz/blog/easy-way-to-send-emails-using-microsoft-graph-api-office-365-with-powershell</guid><category>Azure Application</category><category>emails</category><category>Exchange</category><category>graph api</category><category>microsoft graph</category><category>oauth2</category><category>office 365</category><category>powershell</category><category>send-emailmessage</category><category>send-mailmessage</category><category>smtp</category></item><item><title>Adaptive Cards with Tables and Linebreaks in Microsoft Teams</title><link>https://evotec.xyz/blog/adaptive-cards-with-tables-and-linebreaks-in-microsoft-teams</link><description>PSTeams is a PowerShell module that helps simplify sending notifications to Microsoft Teams via Incoming webhooks. It’s easy to use and doesn’t require playing with JSON. Since version 2.0, it started to support Adaptive Cards; in version 2.1, I’ve added the ability to mention people. Today I’m introducing an easy way to send data as a table and a quick way to add a line break.</description><pubDate>Sun, 21 Aug 2022 16:07:01 GMT</pubDate><guid>https://evotec.xyz/blog/adaptive-cards-with-tables-and-linebreaks-in-microsoft-teams</guid><category>adaptive cards</category><category>microsoft teams</category><category>office 365</category><category>powershell</category><category>teams</category></item><item><title>Working with VirusTotal from PowerShell</title><link>https://evotec.xyz/blog/working-with-virustotal-from-powershell</link><description>Virus Total is an excellent service. It’s a single place where hundreds of antivirus engines can verify if the file, URL, domain name, or IP Address is trusted or not. Of course, it’s not a silver bullet, but it brings tremendous value, and I often verify files I download before executing. Since I release a lot of new or updated PowerShell modules on a weekly/monthly basis, I thought it would be great to send newly released versions straight to Virus Total so I can have them checked before anyone executes them. I also hope to prevent false positives from some antivirus vendors that may tag my modules as malware because they haven’t seen the DLL or PowerShell module in this form before. I’ve seen it happen to DBATools, so why not try and push my modules before users even use them?</description><pubDate>Wed, 10 Aug 2022 18:25:07 GMT</pubDate><guid>https://evotec.xyz/blog/working-with-virustotal-from-powershell</guid><category>api</category><category>powershell</category><category>restapi</category><category>security</category><category>virus</category><category>virus total</category></item><item><title>Reporting group membership for critical Active Directory groups</title><link>https://evotec.xyz/blog/reporting-group-membership-for-critical-active-directory-groups</link><description>I work a lot with Active Directory-related tasks. One of the tasks is to know the group membership of critical Active Directory Groups such as Domain Admins, Enterprise Admins, Schema Admins, Event Log Readers, and a few others that are a bit less known. As I did it, I got bored of typing the group names repeatedly and decided that enough was enough and there must be an easier way for me to do that.</description><pubDate>Sun, 07 Aug 2022 11:57:28 GMT</pubDate><guid>https://evotec.xyz/blog/reporting-group-membership-for-critical-active-directory-groups</guid><category>active directory</category><category>ad</category><category>group membership</category><category>groups</category><category>nested groups</category><category>powershell</category><category>Windows</category></item><item><title>Finding duplicate DNS records by IP Address using PowerShell</title><link>https://evotec.xyz/blog/finding-duplicate-dns-records-by-ip-adress-using-powershell</link><description>In my earlier blog post, I showed you a way to find duplicate DNS entries using PowerShell, but the focus was on finding duplicate entries based on hostname. But what if you would like to find duplicate entries based on IP Addresses? This was the question I was asked on Reddit, and I thought it was a legitimate request, so today’s focus will be on transposing table output from earlier functions to present data differently.</description><pubDate>Tue, 26 Jul 2022 17:23:53 GMT</pubDate><guid>https://evotec.xyz/blog/finding-duplicate-dns-records-by-ip-adress-using-powershell</guid><category>active directory</category><category>dns</category><category>DNSServer</category><category>duplicates</category><category>powershell</category></item><item><title>Finding duplicate DNS entries using PowerShell</title><link>https://evotec.xyz/blog/finding-duplicate-dns-entries-using-powershell</link><description>Today’s blog post is about Active Directory-integrated DNS and how to find duplicate entries. By duplicate, I mean those where one DNS name matches multiple IP addresses. While some duplicate DNS entries are expected, in other cases, it may lead to problems. For example, having a static IP assigned to a hostname that later on is also updated with dynamic entries.</description><pubDate>Sun, 24 Jul 2022 16:48:21 GMT</pubDate><guid>https://evotec.xyz/blog/finding-duplicate-dns-entries-using-powershell</guid><category>active directory</category><category>ad</category><category>dns</category><category>DNSServer</category><category>powershell</category></item><item><title>OfficeIMO – Free cross-platform Microsoft Word .NET library</title><link>https://evotec.xyz/blog/officeimo-free-cross-platform-microsoft-word-net-library</link><description>I’ve created a cross-platform (Windows, Linux, macOS) Word library based on Open XML SDK that heavily simplifies creating and modifying Word documents. Open XML SDK, while excellent, requires you to do a lot of work to make even simple documents. For example, if you want to use Table styles, you need first to define those styles, put them in a specific place, and assign them to a table. The same goes for lists, images, hyperlinks, bookmarks, and many other Microsoft Word types. Creating sections, managing headers, and footers – all that is possible using Open XML SDK, but it’s far from easy. At least for a noob like me. You have to know the order to put them into the document; you must know the places and track IDs to all the elements. And trust me – it’s not fun.</description><pubDate>Sun, 12 Jun 2022 16:14:01 GMT</pubDate><guid>https://evotec.xyz/blog/officeimo-free-cross-platform-microsoft-word-net-library</guid><category>c#</category><category>csharp</category><category>docx</category><category>microsoft office</category><category>Office 365</category><category>officeimo</category><category>Windows</category><category>word</category></item><item><title>Reading IIS logs with PowerShell</title><link>https://evotec.xyz/blog/reading-iis-logs-with-powershell</link><description>Today I was reading Twitter, as I am pretty addicted to technology news when Adam Bacon mentioned that he’s surprised that no one has rebuilt IIS Parser as pure PowerShell. While this is not entirely true, and some modules can do some parsing, I decided to try my luck. While doing it from scratch in PowerShell is possible, I opted to use an external C# library that does all the heavy lifting and is optimized for speed.</description><pubDate>Sat, 04 Jun 2022 19:47:08 GMT</pubDate><guid>https://evotec.xyz/blog/reading-iis-logs-with-powershell</guid><category>iis</category><category>iis-server</category><category>logs</category><category>powershell</category><category>Windows</category></item><item><title>PowerShell – Comparing advanced objects</title><link>https://evotec.xyz/blog/powershell-comparing-advanced-objects</link><description>Two years ago, I wrote a blog post on how you can compare two or more objects visually in PowerShell that works on Windows, Linux, or macOS. I’ve been using that for a while, but it had a specific flaw. Comparing more advanced objects that you often see (for example, returned by Graph API, two config files) wasn’t working correctly, often throwing errors. The reason for this was that having nested hashtables arrays require more advanced logic. Today I’ve updated my module to use the ConvertTo-FlatObject function, which allows the Compare-MultipleObjects function to compare suitably more advanced objects hopefully. Of course, it should not throw errors anymore.</description><pubDate>Mon, 28 Feb 2022 16:22:25 GMT</pubDate><guid>https://evotec.xyz/blog/powershell-comparing-advanced-objects</guid><category>compare</category><category>html</category><category>powershell</category><category>pssharedgoods</category><category>pswritehtml</category></item><item><title>PowerShell – Converting advanced object to flat object</title><link>https://evotec.xyz/blog/powershell-converting-advanced-object-to-flat-object</link><description>PowerShell language allows you to work and build complicated objects. There are multiple ways to save them, such as XML or JSON, but sometimes using them is impossible or inadequate. Sometimes you want to use HTML or CSV or any other single dimension output.</description><pubDate>Sun, 27 Feb 2022 14:57:20 GMT</pubDate><guid>https://evotec.xyz/blog/powershell-converting-advanced-object-to-flat-object</guid><category>convert</category><category>export-csv</category><category>office 365</category><category>powershell</category><category>pswritehtml</category></item><item><title>Office 365 Health Service using PowerShell</title><link>https://evotec.xyz/blog/office-365-health-service-using-powershell</link><description>Two years ago, I wrote a PowerShell module called PSWinDocumentation.O365HealthService. The idea was simple – replicate Health Service data Microsoft offers in Office Portal so you can do with data whatever you want and display it however you like. I’ve written about it in this blog post. A few weeks back, someone reported that the module stopped working, and I’ve confirmed it indeed no longer works! Initially, I thought that maybe some data format changed, as it changed multiple times, or perhaps the date format was wrong again, but no. Microsoft has deprecated Office 365 Service Communications API reference and instead tells us that Service Health is now only available via Microsoft Graph API. Is it only me who didn’t get the memo about this?</description><pubDate>Mon, 14 Feb 2022 17:48:15 GMT</pubDate><guid>https://evotec.xyz/blog/office-365-health-service-using-powershell</guid><category>documentation</category><category>health</category><category>office 365</category><category>powershell</category><category>pswindocumentation</category><category>pswritehtml</category><category>reporting</category></item><item><title>Difference between GetTempFileName() and GetRandomFileName() that got my ass kicked</title><link>https://evotec.xyz/blog/difference-between-gettempfilename-and-getrandomfilename-that-got-my-ass-kicked</link><description>Today’s story is about me making assumptions on how things work based on the method’s name. As the blog post says, I want to focus on two similar methods – GetTempFileName() and GetRandomFileName(), when using PowerShell. Still, since those methods are .NET based, it applies to a whole range of other languages – C#, F#, VisualBasic, and all others that I’ve never used.</description><pubDate>Mon, 24 Jan 2022 18:51:13 GMT</pubDate><guid>https://evotec.xyz/blog/difference-between-gettempfilename-and-getrandomfilename-that-got-my-ass-kicked</guid><category>.net</category><category>c#</category><category>powershell</category><category>Windows</category></item><item><title>Mentioning users in notifications using PSTeams PowerShell Module</title><link>https://evotec.xyz/blog/mentioning-users-in-notifications-using-psteams-powershell-module</link><description>Microsoft Teams over the last few years have grown into an excellent and flexible tool for both small and big companies. Having the ability to chat with users, store files or have all sorts of data in one place makes it easy and functional. Of course, it has its fair share of issues, but it’s getting better. One of the cool features of Microsoft Teams is being able to send notifications to Microsoft Teams Channels using WebHook Notifications. In the beginning, this feature was pretty limited, but after a few years, it got much better with support for Adaptive Cards, List Cards, Hero Cards, Thumbnail Cards, and Office 365 Connector Card.</description><pubDate>Sun, 16 Jan 2022 19:08:52 GMT</pubDate><guid>https://evotec.xyz/blog/mentioning-users-in-notifications-using-psteams-powershell-module</guid><category>Azure AD</category><category>microsoft teams</category><category>office 365</category><category>powershell</category><category>psteams</category></item><item><title>Finding duplicate SPN with PowerShell</title><link>https://evotec.xyz/blog/finding-duplicate-spn-with-powershell</link><description>Duplicate SPNs aren’t very common but can happen in any Active Directory as there’s no built-in way that tracks and prevent duplicate SPN’s. One has to either know all SPN’s in the environment, track them or check each time whether it already exists or not. Things get more complicated with larger Active Directory environments as people change, new apps are added, old apps are forgotten, but SPNs prevail.</description><pubDate>Tue, 07 Dec 2021 15:32:01 GMT</pubDate><guid>https://evotec.xyz/blog/finding-duplicate-spn-with-powershell</guid><category>active directory</category><category>ad</category><category>adessentials</category><category>forest</category><category>powershell</category><category>spn</category><category>testimo</category></item><item><title>Solving typo problems with Fuzzy Search in PSWriteHTML</title><link>https://evotec.xyz/blog/solving-typo-problems-with-fuzzy-search-in-pswritehtml</link><description>One of the everyday use cases with PSWriteHTML is to create a simple view of PowerShell data in a table. While PowerShell comes with a built-in cmdlet ConvertTo-Html, it’s basic in its functionality. It makes an HTML representation of PowerShell data, but it brings no CSS, JavaScript, or other functionality. While for some use cases, it’s enough, the other times, you need to make an effort to make it usable.</description><pubDate>Mon, 29 Nov 2021 18:53:28 GMT</pubDate><guid>https://evotec.xyz/blog/solving-typo-problems-with-fuzzy-search-in-pswritehtml</guid><category>css</category><category>fuzzysearch</category><category>html</category><category>javascript</category><category>js</category><category>out-htmlview</category><category>powershell</category><category>pswritehtml</category><category>reporting</category></item><item><title>Active Directory Domain Services could not replicate the directory partition – The replication operation encountered a database error</title><link>https://evotec.xyz/blog/active-directory-domain-services-could-not-replicate-the-directory-partition-the-replication-operation-encountered-a-database-error</link><description>If you ever encounter an error while trying to create a new domain within a forest saying, “The replication operation encountered a database error,” it makes you sweat a bit. Your brain tells you it will be a nightmare to fix, do I have proper backups to make it happen, and the question “why now” shows up.</description><pubDate>Sun, 28 Nov 2021 14:38:20 GMT</pubDate><guid>https://evotec.xyz/blog/active-directory-domain-services-could-not-replicate-the-directory-partition-the-replication-operation-encountered-a-database-error</guid><category>active directory</category><category>dcdiag</category><category>dfs</category><category>domain</category><category>forest</category><category>forest replication</category><category>PowerShell</category><category>testimo</category><category>Windows</category></item><item><title>Configuring Office 365 settings using PowerShell – The non-supported way</title><link>https://evotec.xyz/blog/configuring-office-365-settings-using-powershell-the-non-supported-way</link><description>Office 365 is a huge beast. It has so many services that it’s hard to track all of them. It’s even harder if you want to manage Office 365 using PowerShell. Microsoft makes many different PowerShell modules available for you, such as AzureAD, AzureADPreview, ExchangeOnline, MicrosoftTeams, and recently, Microsoft.Graph. But even with so many different modules, there are still tasks that Microsoft won’t let you do from PowerShell. But it doesn’t mean that it’s not possible to do it. I’ve spent some time tracking how Microsoft does things while you click thru the interface and created an O365Essentials PowerShell module that can do it in an automated way.</description><pubDate>Sun, 26 Sep 2021 15:12:35 GMT</pubDate><guid>https://evotec.xyz/blog/configuring-office-365-settings-using-powershell-the-non-supported-way</guid><category>Azure</category><category>Azure AD</category><category>graph api</category><category>microsoft graph</category><category>microsoft office 365</category><category>module</category><category>o365essentials</category><category>office 365</category><category>powershell</category><category>powershellgallery</category></item><item><title>Encrypting and decrypting PGP using PowerShell</title><link>https://evotec.xyz/blog/encrypting-and-decrypting-pgp-using-powershell</link><description>Some time ago, I decided that having an easy-to-use PGP PowerShell module is a way to kill my boredom. Four months have passed, and I decided to share it with the world, as it may be helpful to some of you. Today I would like to introduce you to PSPGP – PowerShell module that provides PGP functionality in PowerShell.</description><pubDate>Sun, 12 Sep 2021 15:14:12 GMT</pubDate><guid>https://evotec.xyz/blog/encrypting-and-decrypting-pgp-using-powershell</guid><category>gpg</category><category>pgp</category><category>powershell</category><category>windows</category></item><item><title>Easy way to connect to FTPS and SFTP using PowerShell</title><link>https://evotec.xyz/blog/easy-way-to-connect-to-ftps-and-sftp-using-powershell</link><description>FTPS and SFTP are two ways to send and receive files from remote sources. While the name suggests both do the same thing, those are different protocols, in the end, having the same goal. A few weeks back, I had to make sure I can reliably download files from FTPS server using PowerShell, and since I couldn’t find anything straightforward to use, I decided to write my own. Transfertto is a new PowerShell module that supports both FTPS and SFTP protocols. Its goal is to be the only module that you need to transfer files to and from FTP/SFTP servers.</description><pubDate>Sun, 29 Aug 2021 13:47:48 GMT</pubDate><guid>https://evotec.xyz/blog/easy-way-to-connect-to-ftps-and-sftp-using-powershell</guid><category>ftp</category><category>ftps</category><category>powershell</category><category>sftp</category><category>ssh</category><category>transferetto</category><category>Windows</category></item><item><title>Sending email as an alias (proxy address) with Office 365</title><link>https://evotec.xyz/blog/sending-email-as-an-alias-proxy-address-with-office-365</link><description>Sending emails in Microsoft Exchange world using an alias for an account has always been a pain. It required working with workarounds such as setting up Shared Mailbox or Distribution Groups and using SendAs permissions. For years admins around the world were asking Microsoft to change this, and finally, in April 2021, they did! It’s a new feature of Office 365, and it requires action from Office 365 Administrator.</description><pubDate>Tue, 20 Apr 2021 10:19:21 GMT</pubDate><guid>https://evotec.xyz/blog/sending-email-as-an-alias-proxy-address-with-office-365</guid><category>exchange</category><category>exchange online</category><category>office 365</category><category>powershell</category><category>proxy address</category><category>sendasalias</category></item><item><title>Submitting blogs to web.archive.org using PowerShell</title><link>https://evotec.xyz/blog/submitting-blogs-to-web-archive-org-using-powershell</link><description>Since my website went down in fire with OVH SBG2, I used this occasion to publish my restored website via Cloudflare. It allows me to have to cache, minimization, and some additional security. One thing that caught my attention while browsing through Cloudflare settings was the Always Online feature based on web.archive.org. Basically, the concept is – whenever the website is down, Cloudflare would go and fetch content from web.archive.org.</description><pubDate>Fri, 19 Mar 2021 14:23:11 GMT</pubDate><guid>https://evotec.xyz/blog/submitting-blogs-to-web-archive-org-using-powershell</guid><category>archive</category><category>blogs</category><category>powershell</category><category>pswritecolor</category><category>rss</category><category>web.archive.org</category><category>write-color</category></item><item><title>Advanced HTML reporting using PowerShell</title><link>https://evotec.xyz/blog/advanced-html-reporting-using-powershell</link><description>I’ve been using HTML reporting in PowerShell for a while. Initially, I would usually build HTML by hand, but the time spent trying to figure out what works and what doesn’t drive me mad. With the PSWriteHTML module, a lot has changed. With just a few PowerShell lines, I can create feature-rich reports that change how I show data to my Clients. Today I wanted to show you some advanced HTML reporting without actually complicating PowerShell code. In the last few months, I’ve added many features that create advanced reports without sacrificing readability.</description><pubDate>Tue, 16 Mar 2021 17:15:23 GMT</pubDate><guid>https://evotec.xyz/blog/advanced-html-reporting-using-powershell</guid><category>advanced reporting</category><category>css</category><category>html</category><category>javascript</category><category>powershell</category><category>pswritehtml</category><category>reporting</category></item><item><title>Monitoring LDAPS connectivity/certificate with PowerShell</title><link>https://evotec.xyz/blog/monitoring-ldaps-connectivity-certificate-with-powershell</link><description>Some time ago, I wrote a blog post on checking for LDAP, LDAPS, LDAP GC, and LDAPS GC ports with PowerShell. It mostly works, but it requires a tad bit of effort, and it doesn’t cover the full scope that I wanted. Recently (well over 3 years ago), Chris Dent shared some code that verifies the LDAP certificate, and I thought this would be good to update my cmdlets to support just that with a bit of my own magic on top.</description><pubDate>Tue, 02 Mar 2021 17:53:05 GMT</pubDate><guid>https://evotec.xyz/blog/monitoring-ldaps-connectivity-certificate-with-powershell</guid><category>active directory</category><category>ad</category><category>ldap</category><category>powershell</category><category>testimo</category></item><item><title>The only command you will ever need to understand and fix your Group Policies (GPO)</title><link>https://evotec.xyz/blog/the-only-command-you-will-ever-need-to-understand-and-fix-your-group-policies-gpo</link><description>I’ve been working on cleaning up Group Policies for a couple of months. While it may seem trivial, things get complicated when you’re tasked with managing 5000 GPOs created over 15 years by multiple teams without any best practices in mind. While working on GPOZaurr (my new PowerShell module), I’ve noticed that the more code I wrote to manage those GPOs, the more I knew passing this knowledge to admins who will be executing this on a weekly/monthly basis is going to be a challenge. That’s why I’ve decided to follow a similar approach as my other Active Directory testing module called Testimo. I’ve created a single command that analyses Group Policies using different methods and shows views from different angles to deliver the full picture. On top of that, it provides a solution (or it tries to) so that it’s fairly easy to fix – as long as you agree with what it proposes.</description><pubDate>Sun, 24 Jan 2021 17:15:04 GMT</pubDate><guid>https://evotec.xyz/blog/the-only-command-you-will-ever-need-to-understand-and-fix-your-group-policies-gpo</guid><category>active directory</category><category>gpo</category><category>group policy</category><category>powershell</category></item><item><title>Creating Office 365 Migration Diagram with PowerShell</title><link>https://evotec.xyz/blog/creating-office-365-migration-diagram-with-powershell</link><description>A few weeks ago, I posted a concept migration diagram for Office 365 to Twitter and Facebook. Today I thought I would show you how you can do it yourself using PowerShell and PSWriteHTML PowerShell module. When I started working on this, I’ve thought I want to create before and after infrastructure to see how it will look when migration ends. I’ve initially planned to assign myself an Office 365 Visio Plan 2 license and do something manually, thinking it may be just much easier. Unfortunately for me, there were no free Visio licenses in my tenant, and my laziness took over, so I’ve decided to give it a go using PowerShell only.</description><pubDate>Sun, 03 Jan 2021 18:27:05 GMT</pubDate><guid>https://evotec.xyz/blog/creating-office-365-migration-diagram-with-powershell</guid><category>diagram</category><category>module</category><category>office 365</category><category>powershell</category><category>pswritehtml</category></item><item><title>Remove-Item : Access to the cloud file is denied while deleting files from OneDrive</title><link>https://evotec.xyz/blog/remove-item-access-to-the-cloud-file-is-denied-while-deleting-files-from-onedrive</link><description>I like OneDrive. It allows me to keep my data secure and always synchronized. If things go wrong, I can always get it back. I use it for almost everything. Even for my PowerShell projects, which are committed to GitHub, so in theory, I shouldn’t need that. But every once in a while, I make some stupid mistake and delete a file that has yet not been committed to GitHub, and that’s where the OneDrive comes in handy. Quick restore, and we’re back. Unfortunately, sometimes things aren’t as I would expect them to work. For example, let’s have a look at this nice list of markdown files that are documentation for my module called GPOZaurr.</description><pubDate>Sun, 06 Dec 2020 18:07:39 GMT</pubDate><guid>https://evotec.xyz/blog/remove-item-access-to-the-cloud-file-is-denied-while-deleting-files-from-onedrive</guid><category>delete</category><category>Office 365</category><category>onedrive</category><category>powershell</category><category>remove-item</category><category>Windows</category></item><item><title>Introducing PSTeams 2.0 – Support for Adaptive Cards, Hero Cards, List Cards and Thumbnail Cards</title><link>https://evotec.xyz/blog/introducing-psteams-2-0-support-for-adaptive-cards-hero-cards-list-cards-and-thumbnail-cards</link><description>PSTeams PowerShell module has been on the market for a while now. It supports sending notifications to Microsoft Teams channels via Incoming WebHooks. You could send a pretty message to the team’s channel with just a few lines of code. With PSTeams 2.0, support for Adaptive Cards, Hero Cards, List Cards, and Thumbnail Cards was added.</description><pubDate>Mon, 09 Nov 2020 17:02:21 GMT</pubDate><guid>https://evotec.xyz/blog/introducing-psteams-2-0-support-for-adaptive-cards-hero-cards-list-cards-and-thumbnail-cards</guid><category>microsoft teams</category><category>office 365</category><category>powershell</category><category>reporting</category><category>webhook</category></item><item><title>Visually display Active Directory Trusts using PowerShell</title><link>https://evotec.xyz/blog/visually-display-active-directory-trusts-using-powershell</link><description>Active Directory Trusts are useful to connect one or more domains. But as useful those are, they can be very dangerous. Also, keeping trusts working and in good shape should be a top priority for Active Directory Admins. While there is a couple of command in the Active Directory module Get-ADTrust, I thought I would try and write my own that checks a few more things. I want to thank Chris Dent for his input on the part of this command. His binary skills amaze me!</description><pubDate>Mon, 14 Sep 2020 13:44:10 GMT</pubDate><guid>https://evotec.xyz/blog/visually-display-active-directory-trusts-using-powershell</guid><category>Active Directory</category><category>activedirectory</category><category>adessentials</category><category>get-winadtrust</category><category>powershell</category><category>pswritehtml</category><category>show-winadtrust</category></item><item><title>Visually display Active Directory Nested Group Membership using PowerShell</title><link>https://evotec.xyz/blog/visually-display-active-directory-nested-group-membership-using-powershell</link><description>In the Active Directory PowerShell module, you have two commands to your disposal that help display group membership. Those are Get-ADGroup and Get-ADGroupMember. The first command contains property Members, which gives you DistinguishedName of all members, and Get-ADGroupMember can provide you either direct members or with Recursive switch all members recursively (skipping groups). Till a few weeks ago, I was a happy user of those commands until I noticed two things. Member property for Get-ADGroup sometimes misses elements for whatever reason.</description><pubDate>Wed, 02 Sep 2020 16:06:48 GMT</pubDate><guid>https://evotec.xyz/blog/visually-display-active-directory-nested-group-membership-using-powershell</guid><category>Active Directory</category><category>adessentials</category><category>diagram</category><category>get-adgroup</category><category>get-adgroupmember</category><category>nested groups</category><category>powershell</category><category>pswritehtml</category></item></channel></rss>