Przemyslaw Klys

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…

3 weeks ago

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…

3 weeks ago

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…

3 weeks ago

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…

3 weeks ago

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…

3 weeks ago

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

3 weeks ago

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…

3 weeks ago

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…

3 weeks ago

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…

3 weeks ago

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…

3 weeks ago