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.
If Install-Module does not recognize -AllowPrerelease, the usual cause is an older PowerShellGet version rather than your PowerShell sessio…

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
If Install-Module is not recognized at all, the usual cause is that the machine is missing the PowerShellGet tooling that newer Windows Pow…

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
Download PowerShellGallery modules with their dependencies for portable, offline installs when servers cannot reach the gallery directly.

Manage NTFS permissions with Powershell
Manage NTFS permissions with PowerShell more safely by auditing ACLs, changing access, and avoiding risky GUI-only permission changes.

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
Meet Dashimo, a PowerShell-generated dashboard toolkit for building HTML reports and status views with more flexibility than older scripts.

Meet Emailimo – New way to send pretty emails with PowerShell
Meet Emailimo, a PowerShell module for building readable HTML emails with tables, links, colors, and cleaner templating than hand-written m…