categories

PowerShell

182 entries

Tags
Categories

20 entries

How to change your own expired password when you can’t login to RDP

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…

expired passwordpowershellrdcrdpremote desktop connectionremote desktop protocol
How to Efficiently Remove Comments from Your PowerShell Script

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…

cleanupcommentpowershellremovescript
How to find different server types in Active Directory with PowerShell

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…

active directoryadadconnectazure adexchangepowershell
Hyper-V – Can’t start Virtual Machine because it’s backing up

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…

backuperrorhyper-vpowershell
Image Manipulation, Image Resize, Image Combine and more with PowerShell

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…

.netbar codecombineconvertexif datagrayscale
Import-Module: This script contains malicious content and has been blocked by your antivirus software.

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…

powershellwindows
Install-Module : A parameter cannot be found that matches parameter name AllowPrerelease.

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…

AllowPrereleaseGet-Moduleinstall-modulepowershellupdate-module
Install-module : The ‘install-module’ command was found in the module ‘PowerShellGet’, but the module could not be loaded.

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…

import-moduleinstall-modulepowershellpowershellget
Install-Module: The term Install-Module is not recognized as the name of cmdlet, function, script file or operable program

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…

install-modulepseventviewerpsteamspswinreportingpswritecolor
Instant Replication between Active Directory sites with PowerShell

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…

active directoryadinstant replicationpowershellreplication
Introducing PSTeams 2.0 – Support for Adaptive Cards, Hero Cards, List Cards and Thumbnail Cards

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…

microsoft teamsoffice 365powershellreportingwebhook
Invoke-RestMethod : The underlying connection was closed: An unexpected error occurred on a send while connecting Graph API

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…

invoke-restmethodoffice 365powershelltls 1.0tls 1.1tls 1.2
Just different approach to Active Directory Password Notifications

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…

active directoryadPassword Notificationspasswordstask schedulertasks
Mailozaurr – New mail toolkit (SMTP, IMAP, POP3) with support for oAuth 2.0 and GraphApi for PowerShell

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…

imapmailozaurro365office 365pop3powershell
Making PowerShellGallery modules Portable

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…

moduleportablepowershell
Manage NTFS permissions with Powershell

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…

automationinheritancemanage permissionsntfs permissionspermissionspowershell
Mastering Active Directory Hygiene: Automating SIDHistory Cleanup with CleanupMonster

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…

activedirectorycleanuppowershell
Mastering Active Directory Hygiene: Automating Stale Computer Cleanup with CleanupMonster

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…

active directoryadcleanupintunemicrosoft entrapowershell
Meet Dashimo – PowerShell Generated Dashboard

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…

cssdashboarddashimohtmljavascriptpowershell
Meet Emailimo – New way to send pretty emails with PowerShell

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…

cssemailimohtmljavascriptjsmailing