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.

Visually display Active Directory Trusts using PowerShell

blog

Visually display Active Directory Trusts using PowerShell

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

activedirectoryadessentialsget-winadtrustpowershellpswritehtmlshow-winadtrust
Visually display Active Directory Nested Group Membership using PowerShell

blog

Visually display Active Directory Nested Group Membership using PowerShell

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

adessentialsdiagramget-adgroupget-adgroupmembernested groupspowershell
Restoring (Recovering) PowerShell Scripts from Event Logs

blog

Restoring (Recovering) PowerShell Scripts from Event Logs

A few days ago, I was asked to take a look at PowerShell Malware. While I don’t know much about malware, my curiosity didn’t let me skip on this occasion, and I was hand…

event logget-eventspowershellpowershellmanagerpseventviewer
Mailozaurr – New mail toolkit (SMTP, IMAP, POP3) with support for oAuth 2.0 and GraphApi for PowerShell

blog

Mailozaurr – New mail toolkit (SMTP, IMAP, POP3) with support for oAuth 2.0 and GraphApi for PowerShell

Today, I’m introducing a new PowerShell module called Mailozaurr. It’s a module that aims to deliver functionality around Email for multiple use cases. I’ve started it s…

imapmailozaurro365office 365pop3powershell
Active Directory DHCP Report to HTML or EMAIL with zero HTML knowledge

blog

Active Directory DHCP Report to HTML or EMAIL with zero HTML knowledge

I’m pretty addicted to reading blog posts. I saw this new blog post the other day, where the author created the DHCP HTML report, and he did it by manually building head…

dhcphtmlpowershell
Getting file metadata with PowerShell similar to what Windows Explorer provides

blog

Getting file metadata with PowerShell similar to what Windows Explorer provides

I’m working on a new feature for one of my modules that requires me to know what kind of files I am working with. It’s quite easy in PowerShell, and without a lot of cod…

filesmetadatapowershell
Using Win32_UserAccount WMI filter in PowerShell/Group Policies and what to avoid

blog

Using Win32_UserAccount WMI filter in PowerShell/Group Policies and what to avoid

Some months ago, I created PowerShell Script to create local administrative users on workstations – Create a local user or administrator account in Windows using PowerSh…

active directoryadgpopowershellwmi
Converting Pester V4 to Pester V5 basics

blog

Converting Pester V4 to Pester V5 basics

Convert Pester v4 tests to Pester v5 basics, understand the breaking changes, and get existing PowerShell test suites running again faster.

pesterpowershell
Get-ADObject : The server has returned the following error: invalid enumeration context.

blog

Get-ADObject : The server has returned the following error: invalid enumeration context.

In the last weeks, I’m working on a PowerShell module that the main goal is to work on gathering and fixing GPOs. I’ve been testing my module a lot of times on my test e…

active directoryget-adobjectpowershell
Getting Verified badge next to your GitHub commits in VS Code

blog

Getting Verified badge next to your GitHub commits in VS Code

Set up GPG commit signing in VS Code so GitHub shows the Verified badge next to your commits instead of unsigned changes.

gitgithubpowershellvscode