categories
PowerShell
182 entries
20 entries

How to change your own expired password when you can’t login to RDP
I must admit that it was a bit embarrassing to see my Administrator password expired when I tried to log in as Domain Admin to Domain Contr…

How to Efficiently Remove Comments from Your PowerShell Script
As part of my daily development, I create lots of code that I subsequently comment on and leave to ensure I understand what I tried, what w…

How to find different server types in Active Directory with PowerShell
Working as a freelancer is a great thing if you can handle it. Each day, each week something new happens and a new problem shows up on my d…

Hyper-V – Can’t start Virtual Machine because it’s backing up
Working as a small business often brings you little tasks here and there. Today I’ve decided to shut down the Hyper-V machine to expand its…

Image Manipulation, Image Resize, Image Combine and more with PowerShell
ImagePlayground is a PowerShell module that works in PowerShell 5.1 and PowerShell 7+. It works partially on Linux and should work on macOS…

Import-Module: This script contains malicious content and has been blocked by your antivirus software.
I’ve been working today on a little project when suddenly my modules stopped working. It was weird because I have not touched anything that…

Install-Module : A parameter cannot be found that matches parameter name AllowPrerelease.
Recently I started to utilize Prerelease option for my PowerShell Modules. This allows me to early test them before I…

Install-module : The ‘install-module’ command was found in the module ‘PowerShellGet’, but the module could not be loaded.
I’ve been working last few hours trying to set up my laptop for PowerShell Conference, and one of the tasks is to get my modules up and run…

Install-Module: The term Install-Module is not recognized as the name of cmdlet, function, script file or operable program
Recently I was asked to implement PSWinReporting onto yet another domain. Happily I’ve started to install my 6 modules to…

Instant Replication between Active Directory sites with PowerShell
In Active Directory when you change something, it’s replicated to other Domain Controllers regularly. It’s a standard procedure that happen…

Introducing PSTeams 2.0 – Support for Adaptive Cards, Hero Cards, List Cards and Thumbnail Cards
PSTeams PowerShell module has been on the market for a while now. It supports sending notifications to Microsoft Teams channels via Incomin…

Invoke-RestMethod : The underlying connection was closed: An unexpected error occurred on a send while connecting Graph API
In the last few days, I’ve got two reports that my PowerShell module for Office 365 Health suddenly started giving errors. This was a bit w…

Just different approach to Active Directory Password Notifications
A long time ago I’ve maintained a C# version of Password Expiry reminders. It was working based on HTML templates…

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

Making PowerShellGallery modules Portable
I’m a big fan of PowerShellGallery. It’s easy to use, Microsoft owned, a place to host your PowerShell modules. Every time I release a new…

Manage NTFS permissions with Powershell
Managing NTFS permissions via GUI is not a trivial thing. One mistake and a lot of data is shared to…

Mastering Active Directory Hygiene: Automating SIDHistory Cleanup with CleanupMonster
Security Identifier (SID) History is a useful mechanism in Active Directory (AD) migrations. It allows users and groups in a new domain to…

Mastering Active Directory Hygiene: Automating Stale Computer Cleanup with CleanupMonster
Have you ever looked at your Active Directory and wondered, “Why do I still have computers listed that haven’t been turned on since World C…

Meet Dashimo – PowerShell Generated Dashboard
Today I wanted to introduce a little product that I’ve created in the last few weeks called Dashimo. It doesn’t cover everything I wanted f…

Meet Emailimo – New way to send pretty emails with PowerShell
When reading this blog post, you may be thinking that there’s nothing new one can add to emailing with PowerShell as there were tons of art…