tags
powershell
167 entries
20 entries

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…

Exchange 2013 powershell errors out, and Exchange 2013 ECP doesn’t work correctly
After Exchange 2013 system is updated or after reboot ECP / OWA and other IIS pages appear blank. Also Powershell…

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 – Health Mailbox has been corrupted
Health checking your Exchange Environment is important task for any administrator. Specially for that there are special Health Mailboxes cr…

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…

Export-CliXML and Import-CliXML serialization woes
I’ve been working today trying to deliver to one of my Clients Active Directory documentation. To my surprise, something that worked fine f…

Finding duplicate DNS entries using PowerShell
Today’s blog post is about Active Directory-integrated DNS and how to find duplicate entries. By duplicate, I mean those where one DNS name…

Finding duplicate DNS records by IP Address using PowerShell
In my earlier blog post, I showed you a way to find duplicate DNS entries using PowerShell, but the focus was on finding duplicate entries…