tags

powershell

167 entries

Tags
Categories

20 entries

Create a local user or administrator account in Windows using PowerShell

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

administratorgpopowershell
Creating Office 365 Migration Diagram with PowerShell

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…

diagrammoduleoffice 365powershellpswritehtml
Creating Visual Indicators for spoofed / external emails with PowerShell

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…

exchangeexchange 2013exchange 2016exchange onlineoffice 365powershell
Dashimo (PSWriteHTML) – Charting, Icons and few other changes

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…

cssdashimohtmljavascriptjspowershell
Dashimo – Easy Table Conditional Formatting and more

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…

dashimopowershellpswritehtmlreporthtml
Difference between GetTempFileName() and GetRandomFileName() that got my ass kicked

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…

.netc#powershell
Does having Format-Table or Format-List in the middle of the pipeline makes sense?

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…

Format-ListFormat-Tablepowershell
Easy way to connect to FTPS and SFTP using PowerShell

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…

ftpftpspowershellsftpsshtransferetto
Easy way to create diagrams using PowerShell and PSWriteHTML

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…

architecturecssdashimodiagramhtmljs
Easy way to send emails using Microsoft Graph API (Office 365) with PowerShell

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…

Azure Applicationemailsgraph apimicrosoft graphoauth2office 365
Emailimo merged into PSWriteHTML, IE support and no dependencies

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

emailimoieinternet explorerpowershellpswritehtml
Encrypting and decrypting PGP using PowerShell

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…

gpgpgppowershellwindows
Exchange 2013 powershell errors out, and Exchange 2013 ECP  doesn’t work correctly

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…

event ideventsevotecexchange 2013httpsmicrosoft exchange
Exchange 2013 – Grant SendOnBehalf permission for Mailbox overwrites Existing permissions

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 2010exchange 2013exchange 2016GrantSendOnBehalfTopowershellSet-DistributionGroup
Exchange 2013 – Health Mailbox has been corrupted

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…

exchangeexchange 2013exchange 2016heatlh mailboxespowershell
Exchange 2013 – How to add Relay Connector from PowerShell

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…

exchange 2010exchange 2013exchange 2016powershellreceive connector
Executing hidden or private functions from PowerShell Modules

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…

hiddenpowershellpowershell module
Export-CliXML and Import-CliXML serialization woes

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…

export-clixmlimport-clixmlpowershell
Finding duplicate DNS entries using PowerShell

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…

active directoryaddnsDNSServerpowershell
Finding duplicate DNS records by IP Address using PowerShell

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…

active directorydnsDNSServerduplicatespowershell