Blog

Blog

Technical articles, tutorials, and insights on PowerShell, .NET, Active Directory, and enterprise IT automation.

Tag
Category

Type to search across all blog posts.

Reading IIS logs with PowerShell

blog

Reading IIS logs with PowerShell

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 PowerShe…

iisiis-serverlogspowershell
PowerShell – Comparing advanced objects

blog

PowerShell – Comparing advanced objects

Compare nested and advanced PowerShell objects more reliably by flattening complex structures before visual diffing and review.

comparehtmlpowershellpssharedgoodspswritehtml
PowerShell – Converting advanced object to flat object

blog

PowerShell – Converting advanced object to flat object

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 o…

convertexport-csvoffice 365powershellpswritehtml
Office 365 Health Service using PowerShell

blog

Office 365 Health Service using PowerShell

Use PowerShell and Microsoft Graph to collect Office 365 service health data after the legacy communications API retirement.

documentationhealthoffice 365powershellpswindocumentationpswritehtml
Difference between GetTempFileName() and GetRandomFileName() that got my ass kicked

blog

Difference between GetTempFileName() and GetRandomFileName() that got my ass kicked

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 – GetTempFileNa…

.netc#powershell
Mentioning users in notifications using PSTeams PowerShell Module

blog

Mentioning users in notifications using PSTeams PowerShell Module

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 fil…

microsoft teamsoffice 365powershellpsteams
Finding duplicate SPN with PowerShell

blog

Finding duplicate SPN with PowerShell

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 S…

active directoryadadessentialsforestpowershellspn
Solving typo problems with Fuzzy Search in PSWriteHTML

blog

Solving typo problems with Fuzzy Search in PSWriteHTML

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…

cssfuzzysearchhtmljavascriptjsout-htmlview
Active Directory Domain Services could not replicate the directory partition – The replication operation encountered a database error

blog

Active Directory Domain Services could not replicate the directory partition – The replication operation encountered a database error

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…

active directorydcdiagdfsdomainforestforest replication
Configuring Office 365 settings using PowerShell – The non-supported way

blog

Configuring Office 365 settings using PowerShell – The non-supported way

Use O365Essentials to read and change Microsoft 365 admin settings from PowerShell when the official modules do not expose them.

graph apimicrosoft graphmicrosoft office 365moduleo365essentialsoffice 365