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.

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

Two years ago, I wrote a PowerShell module called PSWinDocumentation.O365HealthService. The idea was simple – replicate Health Service data Microsoft offers in Office Po…

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

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

graph apimicrosoft graphmicrosoft office 365moduleo365essentialsoffice 365
Encrypting and decrypting PGP using PowerShell

blog

Encrypting and decrypting PGP using PowerShell

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

gpgpgppowershellwindows
Easy way to connect to FTPS and SFTP using PowerShell

blog

Easy way to connect to FTPS and SFTP using PowerShell

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, havi…

ftpftpspowershellsftpsshtransferetto