categories
PowerShell
182 entries
20 entries

Comparing two or more objects visually in PowerShell (cross-platform)
For the last few weeks I’m working on a small project, that should be released within next few weeks (it is open source so don’t worry – yo…

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…

Connect-MgGraph: Keyset does not exist
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 surpr…

Converting Pester V4 to Pester V5 basics
Now that Pester V5 is out, I decided that I need to make sure that my Pester tests for all my modules keep on running correctly. Some subst…

Create a local user or administrator account in Windows using PowerShell
Recently I got a simple task to implement LAPS for the newly created local user instead of using the built-in local administrator account.…

Creating Office 365 Migration Diagram with PowerShell
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…

Creating Visual Indicators for spoofed / external emails with PowerShell
I’ve been managing mail service for users for a lot of years now. I don’t do it daily but I’ve spent my fair share of time analyzing spam e…

Dashimo (PSWriteHTML) – Charting, Icons and few other changes
A few months ago when I first released Dashimo, I’ve promised that Charts will come. Unfortunately, time passed by, and there were no Chart…

Dashimo – Easy Table Conditional Formatting and more
Dashimo ultimate goal is to be as easy to use as possible. With the introduction of it a few days ago I made a promise to myself that I wan…

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

Does having Format-Table or Format-List in the middle of the pipeline makes sense?
Recently there was this discussion on PowerShell Group on Facebook about issue posted by one user. While the subject doesn’t matter for thi…

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

Easy way to create diagrams using PowerShell and PSWriteHTML
A few months ago, when I was working on PSWriteWord and PSWriteHTML, I thought to myself that in 2020 if I’ll get time, I’ll try to create…

Easy way to send emails using Microsoft Graph API (Office 365) with PowerShell
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…

Emailimo merged into PSWriteHTML, IE support and no dependencies
If you don’t know this yet, I use PSWriteHTML a lot. That means I get to test it under a lot of different conditions. I use it in reports,…

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

Enhanced Dashboards with PSWriteHTML – Introducing InfoCards and Density Options
Discover new features in the PSWriteHTML PowerShell module – including New-HTMLInfoCard, improved layout controls with the -Density paramet…

Exchange 2013 – Grant SendOnBehalf permission for Mailbox overwrites Existing permissions
Changing Send On Behalf setting in Exchange 2010 / Exchange 2013 or Exchange 2016 is quite simple task that can be easily…

Exchange 2013 – How to add Relay Connector from PowerShell
Adding new receiving connector is standard procedure available via GUI on Exchange 2010 / Exchange 2013 or Exchange 2016. However…

Executing hidden or private functions from PowerShell Modules
When you write PowerShell modules, there’s a high chance you will have conflicts with either existing system commands (you should avoid tha…